diff --git a/sources/dict.c b/sources/dict.c index ac581062..39c28528 100644 --- a/sources/dict.c +++ b/sources/dict.c @@ -801,7 +801,7 @@ int SetDictionaryOptions(UBYTE *options) AO.CurDictInDollars = DICT_NOTINDOLLARS; while ( *s ) { opt = s; - while ( *s && *s != ',' && *s != ' ' ) s++; + while ( *s && *s != ',' ) s++; c = *s; *s = 0; if ( opt[0] == '$' && opt[1] == 0 ) { AO.CurDictInDollars = DICT_INDOLLARS; diff --git a/sources/token.c b/sources/token.c index c87307f0..e5b92b2a 100644 --- a/sources/token.c +++ b/sources/token.c @@ -318,7 +318,8 @@ donumber: i = 0; } else if ( spec == -1 ) { MesPrint("&The floating point system has not been started: %s",in); - if ( !error ) error = 1; + if ( !error ) error = 1; + in++; } else { UBYTE *a = s; s = in; in = a;