fixed: ignore --enable-drag-drop includes os major 6 (vista family)

This commit is contained in:
Nick Bolton 2014-01-28 17:21:49 +00:00
parent 443e0cbc72
commit b0a02fc94b

View File

@ -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."));
} }