aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.cpp
diff options
context:
space:
mode:
authorMax Horn2010-11-01 16:00:53 +0000
committerMax Horn2010-11-01 16:00:53 +0000
commit7a853650047064fb15720bb58ce7c5eec28ef606 (patch)
treee6818d7eae0e28a63bea716fe53a59b549dd66e1 /common/config-manager.cpp
parent6fa8772baef4e76a1cb4b92c14f2479def8210b5 (diff)
downloadscummvm-rg350-7a853650047064fb15720bb58ce7c5eec28ef606.tar.gz
scummvm-rg350-7a853650047064fb15720bb58ce7c5eec28ef606.tar.bz2
scummvm-rg350-7a853650047064fb15720bb58ce7c5eec28ef606.zip
COMMON: Change some (f)printf to debug calls; clenaup hashmap.h
svn-id: r54003
Diffstat (limited to 'common/config-manager.cpp')
-rw-r--r--common/config-manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/config-manager.cpp b/common/config-manager.cpp
index 554a99ea95..8c9a03cb94 100644
--- a/common/config-manager.cpp
+++ b/common/config-manager.cpp
@@ -69,7 +69,7 @@ void ConfigManager::loadDefaultConfigFile() {
} else {
// No config file -> create new one!
- printf("Default configuration file missing, creating a new one\n");
+ debug("Default configuration file missing, creating a new one");
flushToDisk();
}
@@ -81,9 +81,9 @@ void ConfigManager::loadConfigFile(const String &filename) {
FSNode node(filename);
File cfg_file;
if (!cfg_file.open(node)) {
- printf("Creating configuration file: %s\n", filename.c_str());
+ debug("Creating configuration file: %s\n", filename.c_str());
} else {
- printf("Using configuration file: %s\n", _filename.c_str());
+ debug("Using configuration file: %s\n", _filename.c_str());
loadFromStream(cfg_file);
}
}