diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp index 1383f04c10..e45ae15729 100644 --- a/Source/Core/Common/IniFile.cpp +++ b/Source/Core/Common/IniFile.cpp @@ -434,14 +434,14 @@ bool IniFile::Save(const std::string& filename) { IniFile ini; ini.Load("my.ini"); - ini.Set("Hej", "A", "amaskdfl"); - ini.Set("Mossa", "A", "amaskdfl"); + ini.Set("Hello", "A", "amaskdfl"); + ini.Set("Moss", "A", "amaskdfl"); ini.Set("Aissa", "A", "amaskdfl"); //ini.Read("my.ini"); std::string x; - ini.Get("Hej", "B", &x, "boo"); - ini.DeleteKey("Mossa", "A"); - ini.DeleteSection("Mossa"); + ini.Get("Hello", "B", &x, "boo"); + ini.DeleteKey("Moss", "A"); + ini.DeleteSection("Moss"); ini.SortSections(); ini.Save("my.ini"); //UpdateVars(ini); diff --git a/Source/Core/Common/StringUtil.cpp b/Source/Core/Common/StringUtil.cpp index 95cc3b1586..67f88be160 100644 --- a/Source/Core/Common/StringUtil.cpp +++ b/Source/Core/Common/StringUtil.cpp @@ -201,7 +201,7 @@ std::string ArrayToString(const u8* data, u32 size, int line_len, bool spaces) return oss.str(); } -// Turns " hej " into "hej". Also handles tabs. +// Turns " hello " into "hello". Also handles tabs. std::string StripSpaces(const std::string& str) { const size_t s = str.find_first_not_of(" \t\r\n");