- bugfix for windows processing var tags in ini files (was crashing on windows when using the new glest-dev.ini)

This commit is contained in:
SoftCoder
2014-01-27 20:12:14 -08:00
parent cce3beb939
commit 7cae2b53f1
4 changed files with 41 additions and 7 deletions

View File

@@ -1311,11 +1311,9 @@ int setupGameItemPaths(int argc, char** argv, Config *config) {
if(devProperties.hasString("ServerListPath") == true) {
string devItem = devProperties.getString("ServerListPath");
Properties::applyTagsToValue(devItem);
if(devItem != "") {
endPathWithSlash(devItem);
}
if(config != NULL) {
config->setString("ServerListPath",devItem,true);
}
@@ -1323,11 +1321,9 @@ int setupGameItemPaths(int argc, char** argv, Config *config) {
if(devProperties.hasString("GlestKeysIniPath") == true) {
string devItem = devProperties.getString("GlestKeysIniPath");
Properties::applyTagsToValue(devItem);
if(devItem != "") {
endPathWithSlash(devItem);
}
if(config != NULL) {
config->setString("GlestKeysIniPath",devItem,true);
}