mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-03-06 14:27:44 +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? (+/-?)
|
// Number? (+/-?)
|
||||||
else if (isdigit(linePtr[0]))
|
else if (linePtr[0]=='-' || isdigit(linePtr[0]))
|
||||||
{
|
{
|
||||||
T = GetNumber();
|
T = GetNumber();
|
||||||
return T;
|
return T;
|
||||||
|
|
Loading…
Reference in a new issue