diff options
-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 * |