# HG changeset patch # User Jason Rumney # Date 977396674 0 # Node ID 3b4361fc6ae35a9384968a1ca95b0ae0be7b06de # Parent 29248420a950319a7e7d56670d4c11ce38d3cf83 (w32_init_bdf_font): Fix test for valid bmp heap. diff -r 29248420a950 -r 3b4361fc6ae3 src/w32bdf.c --- a/src/w32bdf.c Thu Dec 21 11:04:01 2000 +0000 +++ b/src/w32bdf.c Thu Dec 21 11:04:34 2000 +0000 @@ -228,7 +228,7 @@ 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)