diff options
| author | Jason Rumney | 2000-12-21 11:05:33 +0000 |
|---|---|---|
| committer | Jason Rumney | 2000-12-21 11:05:33 +0000 |
| commit | 3e27fa1f8369e7c89eb4a15c98fab2870caee9d3 (patch) | |
| tree | 32e0a327fd46bed1832ff3855b66b734a1893897 /src | |
| parent | 29ef7d2de46c4b50593bc0aa09b069170cc8a772 (diff) | |
| download | emacs-3e27fa1f8369e7c89eb4a15c98fab2870caee9d3.tar.gz emacs-3e27fa1f8369e7c89eb4a15c98fab2870caee9d3.zip | |
(w32_init_bdf_font): Fix test for valid bmp heap.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/w32bdf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a8ce06cf135..21915f30049 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | * w32term.c (x_draw_hollow_cursor): Delay obtaining the frame's DC | 5 | * w32term.c (x_draw_hollow_cursor): Delay obtaining the frame's DC |
| 6 | to avoid returning without releasing it. | 6 | to avoid returning without releasing it. |
| 7 | 7 | ||
| 8 | 2000-12-21 Kenichi Handa <handa@etl.go.jp> | 8 | 2000-12-21 Kenichi Handa <handa@etl.go.jp> |
| 9 | 9 | ||
| 10 | * keymap.c (push_key_description): Don't convert eight-bit-control | 10 | * keymap.c (push_key_description): Don't convert eight-bit-control |
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) | |||
| 228 | 228 | ||
| 229 | if (hbdf_cp_heap == INVALID_HANDLE_VALUE) | 229 | if (hbdf_cp_heap == INVALID_HANDLE_VALUE) |
| 230 | hbdf_cp_heap = HeapCreate(0, BDF_CODEPOINT_HEAP_INITIAL_SIZE, 0); | 230 | hbdf_cp_heap = HeapCreate(0, BDF_CODEPOINT_HEAP_INITIAL_SIZE, 0); |
| 231 | if (hbdf_bmp_heap = INVALID_HANDLE_VALUE) | 231 | if (hbdf_bmp_heap == INVALID_HANDLE_VALUE) |
| 232 | hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0); | 232 | hbdf_bmp_heap = HeapCreate(0, BDF_BITMAP_HEAP_INITIAL_SIZE, 0); |
| 233 | 233 | ||
| 234 | if (!hbdf_cp_heap || !hbdf_bmp_heap) | 234 | if (!hbdf_cp_heap || !hbdf_bmp_heap) |