Applied Deve's patch for #1042 - thanks!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
@@ -184,6 +184,8 @@
|
||||
#include "utils/log.hpp"
|
||||
#include "utils/translation.hpp"
|
||||
|
||||
void cleanSuperTuxKart();
|
||||
|
||||
// ============================================================================
|
||||
// gamepad visualisation screen
|
||||
// ============================================================================
|
||||
@@ -1082,6 +1084,7 @@ int handleCmdLine(int argc, char **argv)
|
||||
|
||||
Log::error("main", "Invalid parameter: %s.\n", argv[i] );
|
||||
cmdLineHelp(argv[0]);
|
||||
cleanSuperTuxKart();
|
||||
return 0;
|
||||
}
|
||||
} // for i <argc
|
||||
|
||||
Reference in New Issue
Block a user