From: Jason Rumney Date: Wed, 13 Jun 2007 22:52:21 +0000 (+0000) Subject: (w32font_close): Delete the GDI font object. X-Git-Tag: emacs-pretest-23.0.90~8295^2~425 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9a152832edd141a1624ac017de2f6da3877e438;p=emacs.git (w32font_close): Delete the GDI font object. --- 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) if (font->font.font) { W32FontStruct *old_w32_font = (W32FontStruct *)font->font.font; - DeleteObject (font->font.font); + DeleteObject (old_w32_font->hfont); xfree (old_w32_font); font->font.font = 0; }