diff options
author | Max Horn | 2008-09-30 15:42:19 +0000 |
---|---|---|
committer | Max Horn | 2008-09-30 15:42:19 +0000 |
commit | cdc66fc12038b7eb55a67b636be98b7971a9be17 (patch) | |
tree | 8f4c0bfb04d86aeff96fb37a0e6a9e922b465f35 /common | |
parent | 45284cfad92398619624d3c25804a74464b883b9 (diff) | |
download | scummvm-rg350-cdc66fc12038b7eb55a67b636be98b7971a9be17.tar.gz scummvm-rg350-cdc66fc12038b7eb55a67b636be98b7971a9be17.tar.bz2 scummvm-rg350-cdc66fc12038b7eb55a67b636be98b7971a9be17.zip |
Fixing ConfigManager::loadConfigFile
svn-id: r34707
Diffstat (limited to 'common')
-rw-r--r-- | common/config-manager.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp index b741757cc5..f157763926 100644 --- a/common/config-manager.cpp +++ b/common/config-manager.cpp @@ -77,8 +77,9 @@ void ConfigManager::loadDefaultConfigFile() { void ConfigManager::loadConfigFile(const String &filename) { _filename = filename; + FilesystemNode node(filename); File cfg_file; - if (!cfg_file.open(filename)) { + if (!cfg_file.open(node)) { printf("Creating configuration file: %s\n", filename.c_str()); } else { printf("Using configuration file: %s\n", _filename.c_str()); |