- property files can start a comment with # also
This commit is contained in:
parent
5c0090d488
commit
a70320dd9f
|
@ -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());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user