Unfucked --enable-drag-drop arg parse #4168

This commit is contained in:
Nick Bolton 2015-03-04 15:10:03 +00:00
parent 3364d38498
commit 2feb916f2f
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ ArgParser::parseGenericArgs(int argc, const char* const* argv, int& i)
else if (isArg(i, argc, argv, NULL, "--client")) { else if (isArg(i, argc, argv, NULL, "--client")) {
// HACK: stop error happening when using portable (synergyp) // HACK: stop error happening when using portable (synergyp)
} }
else if (isArg(i, argc, argv, NULL, "--enable-drag-drop", 1)) { else if (isArg(i, argc, argv, NULL, "--enable-drag-drop")) {
bool useDragDrop = true; bool useDragDrop = true;
#ifdef WINAPI_XWINDOWS #ifdef WINAPI_XWINDOWS