mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 16:02:50 +02:00
- property files can start a comment with # also
This commit is contained in:
@@ -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());
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user