mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 05:01:02 -08:00
(x_draw_row_bitmaps): Delay obtaining HDC to avoid returning without
releasing it.
This commit is contained in:
parent
d4ffda100d
commit
fccb828847
2 changed files with 8 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue