Commit fccb8288 authored by Eli Zaretskii's avatar Eli Zaretskii

(x_draw_row_bitmaps): Delay obtaining HDC to avoid returning without

releasing it.
parent d4ffda10
2001-01-29 Jason Rumney <jasonr@gnu.org>
w32term.c (x_draw_row_bitmaps): Delay obtaining HDC to avoid
returning without releasing it.
2001-01-29 Kenichi Handa <handa@etl.go.jp>
* w32fns.c (w32_font_match): Allocate three more bytes to regex
......
......@@ -898,7 +898,7 @@ x_draw_row_bitmaps (w, row)
enum bitmap_type bitmap;
struct face *face;
int header_line_height = -1;
HDC hdc = get_frame_dc (f);
HDC hdc;
xassert (interrupt_input_blocked);
......@@ -922,6 +922,8 @@ x_draw_row_bitmaps (w, row)
else
bitmap = NO_BITMAP;
hdc = get_frame_dc (f);
/* Clear flags area if no bitmap to draw or if bitmap doesn't fill
the flags area. */
if (bitmap == NO_BITMAP
......
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