aboutsummaryrefslogtreecommitdiff
path: root/common/config-manager.h
diff options
context:
space:
mode:
authorMax Horn2006-04-16 19:23:14 +0000
committerMax Horn2006-04-16 19:23:14 +0000
commit74edd90aba15db1196b16b5eae918347670d11c8 (patch)
tree7410c4e14dadff2c051b42ea3a09d99987b0d6d5 /common/config-manager.h
parent08b9cd7922c48df064c17d71cc306f330043b817 (diff)
downloadscummvm-rg350-74edd90aba15db1196b16b5eae918347670d11c8.tar.gz
scummvm-rg350-74edd90aba15db1196b16b5eae918347670d11c8.tar.bz2
scummvm-rg350-74edd90aba15db1196b16b5eae918347670d11c8.zip
Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch)
svn-id: r21951
Diffstat (limited to 'common/config-manager.h')
-rw-r--r--common/config-manager.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/config-manager.h b/common/config-manager.h
index 26b1efbf23..f7c1ce121b 100644
--- a/common/config-manager.h
+++ b/common/config-manager.h
@@ -130,8 +130,8 @@ public:
//
int getInt(const String &key, const String &domName = String::emptyString) const;
bool getBool(const String &key, const String &domName = String::emptyString) const;
- void set(const String &key, int value, const String &domName = String::emptyString);
- void set(const String &key, bool value, const String &domName = String::emptyString);
+ void setInt(const String &key, int value, const String &domName = String::emptyString);
+ void setBool(const String &key, bool value, const String &domName = String::emptyString);
void registerDefault(const String &key, const String &value);