Fixed output bug attempting to log a std::string instead of a C-style string with printf.

alt_setting-error
Benjamin Dobell 2013-03-10 01:26:22 +11:00
parent ebbc3e7cd2
commit ef7c9a6377
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ bool Arguments::ParseArguments(int argc, char **argv, int argi)
if (!insertResult.second)
{
Interface::Print("Duplicate argument: %s (%s)\n\n", argv[argi], argumentName);
Interface::Print("Duplicate argument: %s (%s)\n\n", argv[argi], argumentName.c_str());
delete argument;
return (false);