Probably a good idea to look for rcerror as rcerror.exe on Windows.

This commit is contained in:
dfighter1985 2015-02-20 02:03:33 +01:00
parent 7f16563262
commit 271fbb8013

View file

@ -76,7 +76,11 @@ TReportResult report (const std::string &title, const std::string &header, const
f << body; f << body;
f.close(); f.close();
#ifdef NL_OS_WINDOWS
NLMISC::launchProgram( "rcerror.exe", fname );
#else
NLMISC::launchProgram( "rcerror", fname ); NLMISC::launchProgram( "rcerror", fname );
#endif
} }
NLMISC::CFile::deleteFile( fname ); NLMISC::CFile::deleteFile( fname );