diff --git a/Jupiter/INIFile.cpp b/Jupiter/INIFile.cpp index 24ee397..5396bad 100644 --- a/Jupiter/INIFile.cpp +++ b/Jupiter/INIFile.cpp @@ -274,10 +274,10 @@ unsigned int Jupiter::INIFile::readFile(const char *fileName) else if (line.contains('=')) // key/value pair. { Jupiter::ReferenceString key = line.getWord(0, "="); + Jupiter::ReferenceString value = line.substring(key.size() + 1); while (key.size() != 0 && isspace(key.get(key.size() - 1))) key.truncate(1); - Jupiter::ReferenceString value = line.gotoWord(1, "="); while (value.size() != 0 && isspace(value.get(0))) value.shiftRight(1); diff --git a/Release/Jupiter.lib b/Release/Jupiter.lib index d8a0ce2..b9eb1d8 100644 Binary files a/Release/Jupiter.lib and b/Release/Jupiter.lib differ