summaryrefslogtreecommitdiff
path: root/src/w32bdf.c
diff options
context:
space:
mode:
authorJason Rumney <jasonr@gnu.org>2000-12-21 11:05:33 +0000
committerJason Rumney <jasonr@gnu.org>2000-12-21 11:05:33 +0000
commit3e27fa1f8369e7c89eb4a15c98fab2870caee9d3 (patch)
tree32e0a327fd46bed1832ff3855b66b734a1893897 /src/w32bdf.c
parent29ef7d2de46c4b50593bc0aa09b069170cc8a772 (diff)
downloademacs-3e27fa1f8369e7c89eb4a15c98fab2870caee9d3.tar.gz
(w32_init_bdf_font): Fix test for valid bmp heap.
Diffstat (limited to 'src/w32bdf.c')
-rw-r--r--src/w32bdf.c2
1 files changed, 1 insertions, 1 deletions
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)