mirror of
https://github.com/glest/glest-source.git
synced 2025-10-01 01:46:42 +02:00
- 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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user