diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:39:37 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-03-03 16:39:37 +0100 |
commit | 7728be27d08e7ae362a15a2affb1f502d439b561 (patch) | |
tree | bae3d8008ef6126b091cfa096621b43a11812a50 /win/rfb_win32 | |
parent | b1cd6ca8f0c6c77ec66cba47004137297ae020d6 (diff) | |
download | tigervnc-7728be27d08e7ae362a15a2affb1f502d439b561.tar.gz tigervnc-7728be27d08e7ae362a15a2affb1f502d439b561.zip |
Add extra parentheses to avoid and/or priority ambiguity
Diffstat (limited to 'win/rfb_win32')
-rw-r--r-- | win/rfb_win32/WMCursor.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win/rfb_win32/WMCursor.cxx b/win/rfb_win32/WMCursor.cxx index 4d696cbc..fa158335 100644 --- a/win/rfb_win32/WMCursor.cxx +++ b/win/rfb_win32/WMCursor.cxx @@ -49,7 +49,8 @@ WMCursor::WMCursor() : hooks(0), use_getCursorInfo(false), cursor(0) { #ifdef RFB_HAVE_GETCURSORINFO // Check the OS version bool is_win98 = (osVersion.dwPlatformId == VER_PLATFORM_WIN32_WINDOWS) && - (osVersion.dwMajorVersion > 4) || ((osVersion.dwMajorVersion == 4) && (osVersion.dwMinorVersion > 0)); + ((osVersion.dwMajorVersion > 4) || + ((osVersion.dwMajorVersion == 4) && (osVersion.dwMinorVersion > 0))); bool is_win2K = (osVersion.dwPlatformId == VER_PLATFORM_WIN32_NT) && (osVersion.dwMajorVersion >= 5); // Use GetCursorInfo if OS version is sufficient |