diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-07 10:00:47 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-02-07 10:02:31 +0000 |
commit | 4b6b28b5e8b9020c72a60b01ff3340a70dd59478 (patch) | |
tree | 87bca8adf731ae61de9827e2fd95d2abbd2894aa | |
parent | 4b54c09c056e5dee65f2cf4e87835eb9127e5b1c (diff) |
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 <chris@chris-wilson.co.uk>
-rw-r--r-- | src/win32/cairo-win32-device.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 * |