mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +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
|
||||
if(lineBuffer[0] != ';') {
|
||||
if(lineBuffer[0] != ';' && lineBuffer[0] != '#') {
|
||||
//wstring wstr = lineBuffer;
|
||||
//line.assign(wstr.begin(),wstr.end());
|
||||
|
||||
|
Reference in New Issue
Block a user