aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 9a6142925fd..948a5553e5d 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1591,7 +1591,10 @@ x_draw_glyph_string_foreground (s)
1591 { 1591 {
1592 /* For overstriking (to simulate bold-face), draw the 1592 /* For overstriking (to simulate bold-face), draw the
1593 characters again shifted to the right by one pixel. */ 1593 characters again shifted to the right by one pixel. */
1594 int old_BkMode = SetBkMode (s->hdc, TRANSPARENT);
1594 w32_text_out (s, x + 1, s->ybase - boff, s->char2b, s->nchars); 1595 w32_text_out (s, x + 1, s->ybase - boff, s->char2b, s->nchars);
1596 if (old_BkMode && old_BkMode != TRANSPARENT)
1597 SetBkMode (s->hdc, old_BkMode);
1595 } 1598 }
1596 } 1599 }
1597 if (s->font && s->font->hfont) 1600 if (s->font && s->font->hfont)