Parse arg refactoring #4124

Fixed compile error on Linux
This commit is contained in:
Xinyu Hou 2014-10-23 11:37:59 +01:00
parent 943a355359
commit a71ebc78b3
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}