mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2024-11-25 15:15:40 +00:00
Small bug fix in INIFile.cpp - was not parsing negative numbers.
This commit is contained in:
parent
c8f4fbc901
commit
5f82fd79c3
|
@ -555,7 +555,7 @@ CINIFile::CToken CINIFile::GetToken(void)
|
|||
}
|
||||
|
||||
// Number? (+/-?)
|
||||
else if (isdigit(linePtr[0]))
|
||||
else if (linePtr[0]=='-' || isdigit(linePtr[0]))
|
||||
{
|
||||
T = GetNumber();
|
||||
return T;
|
||||
|
|
Loading…
Reference in a new issue