]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_init_bdf_font): Fix test for valid bmp heap.
authorJason Rumney <jasonr@gnu.org>
Thu, 21 Dec 2000 11:05:33 +0000 (11:05 +0000)
committerJason Rumney <jasonr@gnu.org>
Thu, 21 Dec 2000 11:05:33 +0000 (11:05 +0000)
src/ChangeLog
src/w32bdf.c

index a8ce06cf135753a98a6b5b2dc291c31b014c16ea..21915f3004901968c4f7e4284259794db3ba7e10 100644 (file)
@@ -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  <handa@etl.go.jp>
 
        * keymap.c (push_key_description): Don't convert eight-bit-control
index 53e1b17b2187790050e0f9514714b84ae617b5fb..95ae6143b9d193b53f712e264a8180a6962f8757 100644 (file)
@@ -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)