- bugfixes from windows unicode work to compile in Linux

This commit is contained in:
Mark Vejvoda
2011-05-23 19:50:17 +00:00
parent 1085f24c6f
commit adb7ec4a6a
8 changed files with 140 additions and 60 deletions

View File

@@ -65,6 +65,7 @@ void Properties::load(const string &path, bool clearCurrentProperties) {
while(!fileStream.eof()){
fileStream.getline(lineBuffer, maxLine);
lineBuffer[maxLine-1]='\0';
//printf("\n[%s]\n",lineBuffer);
//process line if it it not a comment
if(lineBuffer[0]!=';'){