Fix Linux build error in argument parser

This commit is contained in:
Bjørnar Grip Fjær 2017-08-29 10:40:10 +02:00
parent a9331dcfe6
commit a6c526c5ba

View File

@ -95,7 +95,7 @@ bool RiaArgumentParser::parseArguments()
#if defined(_MSC_VER) && defined(_WIN32) #if defined(_MSC_VER) && defined(_WIN32)
RiaApplication::instance()->showFormattedTextInMessageBox(helpText); RiaApplication::instance()->showFormattedTextInMessageBox(helpText);
#else #else
fprintf(stdout, "%s\n", m_helpText.toAscii().data()); fprintf(stdout, "%s\n", helpText.toAscii().data());
fflush(stdout); fflush(stdout);
#endif #endif
return false; return false;