core/CGameConfigs.cpp
changeset 551 ba72afdd5167
parent 548 21513dce9426
child 591 86e97f3eda1f
     1.1 --- a/core/CGameConfigs.cpp	Thu Mar 01 04:41:41 2007 +0000
     1.2 +++ b/core/CGameConfigs.cpp	Thu Mar 01 16:35:06 2007 +0000
     1.3 @@ -230,7 +230,7 @@
     1.4  		if (error && (err != SMCParse_Custom))
     1.5  		{
     1.6  			const char *str = g_TextParser.GetSMCErrorString(err);
     1.7 -			snprintf(error, maxlength, "%s", err);
     1.8 +			snprintf(error, maxlength, "%s", str);
     1.9  		}
    1.10  		return false;
    1.11  	}