mirror of
https://github.com/debauchee/barrier.git
synced 2024-11-23 20:12:39 +03:00
fixed: ignore --enable-drag-drop includes os major 6 (vista family)
This commit is contained in:
parent
443e0cbc72
commit
b0a02fc94b
@ -189,7 +189,7 @@ CApp::parseArg(const int& argc, const char* const* argv, int& i)
|
|||||||
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);
|
||||||
GetVersionEx(&osvi);
|
GetVersionEx(&osvi);
|
||||||
|
|
||||||
if (osvi.dwMajorVersion <= 6) {
|
if (osvi.dwMajorVersion < 6) {
|
||||||
useDragDrop = false;
|
useDragDrop = false;
|
||||||
LOG((CLOG_INFO "ignoring --enable-drag-drop, not supported below vista."));
|
LOG((CLOG_INFO "ignoring --enable-drag-drop, not supported below vista."));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user