- last commit was broken. :(

SVN r3672 (trunk)
This commit is contained in:
Christoph Oelckers 2012-05-31 08:51:40 +00:00
parent e28ecdda50
commit 171066388f

View file

@ -509,7 +509,7 @@ static void ParseOptionValue(FScanner &sc)
FOptionValues **pOld = OptionValues.CheckKey(optname); FOptionValues **pOld = OptionValues.CheckKey(optname);
if (pOld != NULL && *pOld != NULL) if (pOld != NULL && *pOld != NULL)
{ {
sc.ScriptError("Redefinition of option value set '%s'", optname.GetChars()) sc.ScriptError("Redefinition of option value set '%s'", optname.GetChars());
} }
OptionValues[optname] = val; OptionValues[optname] = val;
} }
@ -542,7 +542,7 @@ static void ParseOptionString(FScanner &sc)
FOptionValues **pOld = OptionValues.CheckKey(optname); FOptionValues **pOld = OptionValues.CheckKey(optname);
if (pOld != NULL && *pOld != NULL) if (pOld != NULL && *pOld != NULL)
{ {
sc.ScriptError("Redefinition of option value set '%s'", optname.GetChars()) sc.ScriptError("Redefinition of option value set '%s'", optname.GetChars());
} }
OptionValues[optname] = val; OptionValues[optname] = val;
} }