diff --git a/Src/INIFile.cpp b/Src/INIFile.cpp index 7180521..c53f636 100644 --- a/Src/INIFile.cpp +++ b/Src/INIFile.cpp @@ -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;