From 4b6b28b5e8b9020c72a60b01ff3340a70dd59478 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 7 Feb 2013 10:00:47 +0000 Subject: win32: Fix is_win98() Since the translation into a separate function, its condition was reversed: that is almost everybody thought they were on a win98 machine and so had no working AlphaBlend(). Signed-off-by: Chris Wilson --- src/win32/cairo-win32-device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/win32') diff --git a/src/win32/cairo-win32-device.c b/src/win32/cairo-win32-device.c index b3ee5739..741e49e3 100644 --- a/src/win32/cairo-win32-device.c +++ b/src/win32/cairo-win32-device.c @@ -106,9 +106,9 @@ static cairo_bool_t is_win98 (void) os.dwOSVersionInfoSize = sizeof (os); GetVersionEx (&os); - return (VER_PLATFORM_WIN32_WINDOWS != os.dwPlatformId && - os.dwMajorVersion != 4 && - os.dwMinorVersion != 10); + return (VER_PLATFORM_WIN32_WINDOWS == os.dwPlatformId && + os.dwMajorVersion == 4 && + os.dwMinorVersion == 10); } static void * -- cgit v1.2.3