Commit 3e27fa1f authored by Jason Rumney's avatar Jason Rumney
Browse files

(w32_init_bdf_font): Fix test for valid bmp heap.

parent 29ef7d2d
......@@ -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
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment