changeset 34777:3b4361fc6ae3

(w32_init_bdf_font): Fix test for valid bmp heap.
author Jason Rumney <jasonr@gnu.org>
date Thu, 21 Dec 2000 11:04:34 +0000
parents 29248420a950
children 662601fb7a07
files src/w32bdf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)