From a71ebc78b37120aad8508fbd3aa0daffe30088df Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Thu, 23 Oct 2014 11:37:59 +0100 Subject: [PATCH] Parse arg refactoring #4124 Fixed compile error on Linux --- src/lib/synergy/ArgParser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/synergy/ArgParser.cpp b/src/lib/synergy/ArgParser.cpp index 7ab7ab9a..c7ae05f3 100644 --- a/src/lib/synergy/ArgParser.cpp +++ b/src/lib/synergy/ArgParser.cpp @@ -134,12 +134,12 @@ CArgParser::parsePlatformArg(CArgsBase& argsBase, const int& argc, const char* c return true; #elif WINAPI_XWINDOWS - if (CArgumentParser::isArg(i, argc, argv, "-display", "--display", 1)) { + if (isArg(i, argc, argv, "-display", "--display", 1)) { // use alternative display argsBase.m_display = argv[++i]; } - else if (CArgumentParser::isArg(i, argc, argv, NULL, "--no-xinitthreads")) { + else if (isArg(i, argc, argv, NULL, "--no-xinitthreads")) { argsBase.m_disableXInitThreads = true; }