- property files can start a comment with # also

This commit is contained in:
Mark Vejvoda 2012-10-10 23:16:37 +00:00
parent 5c0090d488
commit a70320dd9f

View File

@ -109,7 +109,7 @@ void Properties::load(const string &path, bool clearCurrentProperties) {
} }
//process line if it it not a comment //process line if it it not a comment
if(lineBuffer[0] != ';') { if(lineBuffer[0] != ';' && lineBuffer[0] != '#') {
//wstring wstr = lineBuffer; //wstring wstr = lineBuffer;
//line.assign(wstr.begin(),wstr.end()); //line.assign(wstr.begin(),wstr.end());