aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/w32font.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/w32font.c b/src/w32font.c
index 8f9350cdd96..701751fc41b 100644
--- a/src/w32font.c
+++ b/src/w32font.c
@@ -504,6 +504,7 @@ w32font_draw (s, from, to, x, y, with_background)
504 rect.right = x + s->width; 504 rect.right = x + s->width;
505 rect.bottom = y + ((struct font *) (s->font_info->font))->descent; 505 rect.bottom = y + ((struct font *) (s->font_info->font))->descent;
506 FillRect (s->hdc, &rect, brush); 506 FillRect (s->hdc, &rect, brush);
507 DeleteObject (brush);
507 } 508 }
508 else 509 else
509 SetBkMode (s->hdc, TRANSPARENT); 510 SetBkMode (s->hdc, TRANSPARENT);
@@ -535,7 +536,7 @@ w32font_done_face (FRAME_PTR f, struct face *face); */
535/* w32 implementation of get_bitmap for font backend. 536/* w32 implementation of get_bitmap for font backend.
536 Optional. 537 Optional.
537 Store bitmap data for glyph-code CODE of FONT in BITMAP. It is 538 Store bitmap data for glyph-code CODE of FONT in BITMAP. It is
538 intended that this method is callled from the other font-driver 539 intended that this method is called from the other font-driver
539 for actual drawing. 540 for actual drawing.
540static int 541static int
541w32font_get_bitmap (struct font *font, unsigned code, 542w32font_get_bitmap (struct font *font, unsigned code,