[Scummvm-git-logs] scummvm master -> 10e7f47fa41592c07d3992ab1820b419ceb8767e
athrxx
athrxx at scummvm.org
Tue Jul 13 17:19:17 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
10e7f47fa4 KYRA: minor cleanup of recent encoding changes
Commit: 10e7f47fa41592c07d3992ab1820b419ceb8767e
https://github.com/scummvm/scummvm/commit/10e7f47fa41592c07d3992ab1820b419ceb8767e
Author: athrxx (athrxx at scummvm.org)
Date: 2021-07-13T19:19:01+02:00
Commit Message:
KYRA: minor cleanup of recent encoding changes
Changed paths:
engines/kyra/engine/util.cpp
diff --git a/engines/kyra/engine/util.cpp b/engines/kyra/engine/util.cpp
index 2eb6d9a900..7537e992c9 100644
--- a/engines/kyra/engine/util.cpp
+++ b/engines/kyra/engine/util.cpp
@@ -99,7 +99,7 @@ Common::String Util::convertISOToUTF8(Common::String &str) {
}
void Util::convertISOToDOS(char &c) {
- c = Common::U32String(Common::String::format("%c", c), Common::kISO8859_1).encode(Common::kDos850).c_str()[0];
+ c = Common::U32String(Common::String::format("%c", c), Common::kISO8859_1).encode(Common::kDos850).firstChar();
}
Common::String Util::decodeString1(const Common::String &src) {
More information about the Scummvm-git-logs
mailing list