(x_draw_row_bitmaps): Delay obtaining HDC to avoid returning without
releasing it.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user