aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/w32term.c')
-rw-r--r--src/w32term.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32term.c b/src/w32term.c
index 2de6b0d78c7..3b33b6bac13 100644
--- a/src/w32term.c
+++ b/src/w32term.c
@@ -1890,7 +1890,7 @@ w32_draw_image_foreground (struct glyph_string *s)
1890 /* HALFTONE produces better results, especially when 1890 /* HALFTONE produces better results, especially when
1891 scaling to a larger size, but Windows 9X doesn't 1891 scaling to a larger size, but Windows 9X doesn't
1892 support HALFTONE. */ 1892 support HALFTONE. */
1893 if (os_subtype == OS_NT 1893 if (os_subtype == OS_SUBTYPE_NT
1894 && (pmode = SetStretchBltMode (s->hdc, HALFTONE)) != 0) 1894 && (pmode = SetStretchBltMode (s->hdc, HALFTONE)) != 0)
1895 SetBrushOrgEx (s->hdc, 0, 0, NULL); 1895 SetBrushOrgEx (s->hdc, 0, 0, NULL);
1896 StretchBlt (s->hdc, x, y, s->slice.width, s->slice.height, 1896 StretchBlt (s->hdc, x, y, s->slice.width, s->slice.height,
@@ -1926,7 +1926,7 @@ w32_draw_image_foreground (struct glyph_string *s)
1926 { 1926 {
1927 int pmode = 0; 1927 int pmode = 0;
1928 /* Windows 9X doesn't support HALFTONE. */ 1928 /* Windows 9X doesn't support HALFTONE. */
1929 if (os_subtype == OS_NT 1929 if (os_subtype == OS_SUBTYPE_NT
1930 && (pmode = SetStretchBltMode (s->hdc, HALFTONE)) != 0) 1930 && (pmode = SetStretchBltMode (s->hdc, HALFTONE)) != 0)
1931 SetBrushOrgEx (s->hdc, 0, 0, NULL); 1931 SetBrushOrgEx (s->hdc, 0, 0, NULL);
1932 StretchBlt (s->hdc, x, y, s->slice.width, s->slice.height, 1932 StretchBlt (s->hdc, x, y, s->slice.width, s->slice.height,
@@ -6665,7 +6665,7 @@ frame_set_mouse_pixel_position (struct frame *f, int pix_x, int pix_y)
6665 /* When "mouse trails" are in effect, moving the mouse cursor 6665 /* When "mouse trails" are in effect, moving the mouse cursor
6666 sometimes leaves behind an annoying "ghost" of the pointer. 6666 sometimes leaves behind an annoying "ghost" of the pointer.
6667 Avoid that by momentarily switching off mouse trails. */ 6667 Avoid that by momentarily switching off mouse trails. */
6668 if (os_subtype == OS_NT 6668 if (os_subtype == OS_SUBTYPE_NT
6669 && w32_major_version + w32_minor_version >= 6) 6669 && w32_major_version + w32_minor_version >= 6)
6670 ret = SystemParametersInfo (SPI_GETMOUSETRAILS, 0, &trail_num, 0); 6670 ret = SystemParametersInfo (SPI_GETMOUSETRAILS, 0, &trail_num, 0);
6671 SetCursorPos (pt.x, pt.y); 6671 SetCursorPos (pt.x, pt.y);
@@ -7652,7 +7652,7 @@ specified by `file-name-coding-system'.
7652This variable is set to non-nil by default when Emacs runs on Windows 7652This variable is set to non-nil by default when Emacs runs on Windows
7653systems of the NT family, including W2K, XP, Vista, Windows 7 and 7653systems of the NT family, including W2K, XP, Vista, Windows 7 and
7654Windows 8. It is set to nil on Windows 9X. */); 7654Windows 8. It is set to nil on Windows 9X. */);
7655 if (os_subtype == OS_9X) 7655 if (os_subtype == OS_SUBTYPE_9X)
7656 w32_unicode_filenames = 0; 7656 w32_unicode_filenames = 0;
7657 else 7657 else
7658 w32_unicode_filenames = 1; 7658 w32_unicode_filenames = 1;