summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@innovatetechnologi.es>2018-06-03 14:10:52 +0200
committerLéo Lam <leo@innovatetechnologi.es>2018-06-03 14:10:52 +0200
commitfc0193c4b108d9a914b841829b1c0f0306b609b9 (patch)
treeb10582de815c226aba56cd1ec72c18dc260af680 /Source/Core/Common/IniFile.cpp
parent66ee47c4179c2948dfa107df852fdb709cedf7b4 (diff)
Move Config ValueToString to StringUtil
An identical implementation is used by IniFile, so move those functions to StringUtil. A future commit will modify IniFile to use them.
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index ddaf64b0e3..d28092261c 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -103,7 +103,7 @@ void IniFile::Section::Set(const std::string& key, s64 newValue)
void IniFile::Section::Set(const std::string& key, bool newValue)
{
- Set(key, StringFromBool(newValue));
+ Set(key, ValueToString(newValue));
}
bool IniFile::Section::Get(const std::string& key, std::string* value,