diff options
Diffstat (limited to 'src/w32term.c')
| -rw-r--r-- | src/w32term.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/w32term.c b/src/w32term.c index 5d5e572c475..1cc8bd2adef 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -102,7 +102,7 @@ struct w32_display_info *x_display_list; | |||
| 102 | Lisp_Object w32_display_name_list; | 102 | Lisp_Object w32_display_name_list; |
| 103 | 103 | ||
| 104 | 104 | ||
| 105 | #ifndef GLYPHSET | 105 | #if _WIN32_WINNT < 0x0500 |
| 106 | /* Pre Windows 2000, this was not available, but define it here so | 106 | /* Pre Windows 2000, this was not available, but define it here so |
| 107 | that Emacs compiled on such a platform will run on newer versions. */ | 107 | that Emacs compiled on such a platform will run on newer versions. */ |
| 108 | 108 | ||
| @@ -360,7 +360,11 @@ w32_draw_underwave (struct glyph_string *s, COLORREF color) | |||
| 360 | 360 | ||
| 361 | /* Find and set clipping rectangle */ | 361 | /* Find and set clipping rectangle */ |
| 362 | 362 | ||
| 363 | wave_clip = (XRectangle){ x0, y0, width, wave_height }; | 363 | wave_clip.x = x0; |
| 364 | wave_clip.y = y0; | ||
| 365 | wave_clip.width = width; | ||
| 366 | wave_clip.height = wave_height; | ||
| 367 | |||
| 364 | get_glyph_string_clip_rect (s, &w32_string_clip); | 368 | get_glyph_string_clip_rect (s, &w32_string_clip); |
| 365 | CONVERT_TO_XRECT (string_clip, w32_string_clip); | 369 | CONVERT_TO_XRECT (string_clip, w32_string_clip); |
| 366 | 370 | ||