[Scummvm-cvs-logs] SF.net SVN: scummvm:[51519] tools/trunk/scummvm-tools-cli.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sat Jul 31 00:20:13 CEST 2010
Revision: 51519
http://scummvm.svn.sourceforge.net/scummvm/?rev=51519&view=rev
Author: lordhoto
Date: 2010-07-30 22:20:13 +0000 (Fri, 30 Jul 2010)
Log Message:
-----------
TOOLS: Fix crash when invalid help topic was specified.
Modified Paths:
--------------
tools/trunk/scummvm-tools-cli.cpp
Modified: tools/trunk/scummvm-tools-cli.cpp
===================================================================
--- tools/trunk/scummvm-tools-cli.cpp 2010-07-30 21:29:45 UTC (rev 51518)
+++ tools/trunk/scummvm-tools-cli.cpp 2010-07-30 22:20:13 UTC (rev 51519)
@@ -77,7 +77,7 @@
return 2;
}
}
- std::cout << std::endl << "Unknown help topic '" << arguments[1] << "'" << std::endl;
+ std::cout << std::endl << "Unknown help topic '" << arguments[0] << "'" << std::endl;
}
printHelp(argv[0]);
return 2;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list