From: Jason Rumney Date: Thu, 21 Dec 2000 11:05:33 +0000 (+0000) Subject: (w32_init_bdf_font): Fix test for valid bmp heap. X-Git-Tag: emacs-pretest-21.0.95~352 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e27fa1f8369e7c89eb4a15c98fab2870caee9d3;p=emacs.git (w32_init_bdf_font): Fix test for valid bmp heap. --- diff --git a/src/ChangeLog b/src/ChangeLog index a8ce06cf135..21915f30049 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -4,7 +4,7 @@ * w32term.c (x_draw_hollow_cursor): Delay obtaining the frame's DC to avoid returning without releasing it. - + 2000-12-21 Kenichi Handa * keymap.c (push_key_description): Don't convert eight-bit-control diff --git a/src/w32bdf.c b/src/w32bdf.c index 53e1b17b218..95ae6143b9d 100644 --- a/src/w32bdf.c +++ b/src/w32bdf.c @@ -228,7 +228,7 @@ w32_init_bdf_font(char *filename) if (hbdf_cp_heap == INVALID_HANDLE_VALUE) hbdf_cp_heap = HeapCreate(0, BDF_CODEPOINT_HEAP_INITIAL_SIZE, 0); - if (hbdf_bmp_heap = INVALID_HANDLE_VALUE) + if (hbdf_bmp_heap == INVALID_HANDLE_VALUE) hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0); if (!hbdf_cp_heap || !hbdf_bmp_heap)