lcd4linux: fix add display type

Origin commit data
------------------
Branch: ni/coolstream
Commit: c09a167394
Author: max_10 <max_10@gmx.de>
Date: 2018-09-10 (Mon, 10 Sep 2018)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2018-09-10 00:15:21 +02:00
committed by vanhofen
parent 62ea389882
commit cbb1b03180

View File

@@ -915,7 +915,7 @@ bool CLCD4l::WriteFile(const char *file, std::string content, bool convert)
strReplace(content, "Ä", "\xc4\0"); strReplace(content, "Ä", "\xc4\0");
strReplace(content, "Ö", "\xd6\0"); strReplace(content, "Ö", "\xd6\0");
strReplace(content, "Ü", "\xdc\0"); strReplace(content, "Ü", "\xdc\0");
strReplace(content, "ß", "\xe2\0"); if (g_settings.lcd4l_display_type == 0) strReplace(content, "ß", "\xe2\0");
strReplace(content, "é", "e"); strReplace(content, "é", "e");
} }