what about AR he says

This commit is contained in:
zeromus 2010-07-18 07:01:28 +00:00
parent 9bf7ca718c
commit dcfe3bad86
2 changed files with 5 additions and 2 deletions

View File

@ -425,7 +425,10 @@ BOOL CHEATS::add_AR(char *code, char *description, BOOL enabled)
//if (num == MAX_CHEAT_LIST) return FALSE;
size_t num = list.size();
if (!XXcodePreParser(&list[num], code)) return FALSE;
CHEATS_LIST temp;
if (!XXcodePreParser(&temp, code)) return FALSE;
list.push_back(temp);
list[num].type = 1;

View File

@ -59,7 +59,7 @@ char *removeSpecialChars(char *s)
for (u32 i = 0; i < strlen(s); i++)
{
if (isspace(s[i]) && (s[i] != 0x20))
if (isspace((u8)s[i]) && (s[i] != 0x20))
*buf = 0x20;
else
*buf = s[i];