From a70320dd9f9eb3ebd1eb3efe168f2049ce41804f Mon Sep 17 00:00:00 2001 From: Mark Vejvoda Date: Wed, 10 Oct 2012 23:16:37 +0000 Subject: [PATCH] - property files can start a comment with # also --- source/shared_lib/sources/util/properties.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/shared_lib/sources/util/properties.cpp b/source/shared_lib/sources/util/properties.cpp index beed29ff0..8b4d79357 100644 --- a/source/shared_lib/sources/util/properties.cpp +++ b/source/shared_lib/sources/util/properties.cpp @@ -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());