diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/w32font.c b/src/w32font.c index 701751fc41b..9f3f4ae2da8 100644 --- a/src/w32font.c +++ b/src/w32font.c | |||
| @@ -317,7 +317,7 @@ w32font_close (f, font) | |||
| 317 | if (font->font.font) | 317 | if (font->font.font) |
| 318 | { | 318 | { |
| 319 | W32FontStruct *old_w32_font = (W32FontStruct *)font->font.font; | 319 | W32FontStruct *old_w32_font = (W32FontStruct *)font->font.font; |
| 320 | DeleteObject (font->font.font); | 320 | DeleteObject (old_w32_font->hfont); |
| 321 | xfree (old_w32_font); | 321 | xfree (old_w32_font); |
| 322 | font->font.font = 0; | 322 | font->font.font = 0; |
| 323 | } | 323 | } |