Small bug fix in INIFile.cpp - was not parsing negative numbers.

This commit is contained in:
Nik Henson 2011-09-18 22:03:06 +00:00
parent c8f4fbc901
commit 5f82fd79c3

View file

@ -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;