1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-02 09:03:37 +00:00

GLideNUI-wtl: in loading language, replacing new line was only replacing \

This commit is contained in:
zilmar 2020-04-27 13:50:14 +09:30 committed by Sergey Lipskiy
parent 0e19477b6a
commit 1934062d65

View File

@ -268,7 +268,7 @@ LANG_STR GetNextLangString(FILE * file)
std::string::size_type pos = text.find("\\n");
while (pos != std::string::npos) {
text.replace(pos, 1, "\n");
text.replace(pos, 2, "\n");
pos = text.find("\\n", pos + 1);
}
return LANG_STR(StringID, text);