Fix typos

This commit is contained in:
Arkshine 2015-08-12 10:43:59 +02:00
parent c270243b56
commit 5f0b92f7c3

View File

@ -324,7 +324,7 @@ SMCResult CGameConfig::ReadSMC_KeyValue(const SMCStates *states, const char *key
} }
else if (!strcmp(key, "size")) else if (!strcmp(key, "size"))
{ {
TempType.fieldSize = ke::Min(0, atoi(value)); TempType.fieldSize = ke::Max<int>(0, atoi(value));
} }
else if (!strcmp(key, "unsigned")) else if (!strcmp(key, "unsigned"))
{ {