From a005814d8ac77d8edfa8568d904109b4fa8d328c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 30 Sep 2018 22:42:49 +0200 Subject: [PATCH] lcd4l: fix whitespace errors from previous commit Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d2d464345e1a7807f030184e58a4da7ae66f396a Author: vanhofen Date: 2018-09-30 (Sun, 30 Sep 2018) Origin message was: ------------------ - lcd4l: fix whitespace errors from previous commit --- src/driver/lcd4l.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/driver/lcd4l.cpp b/src/driver/lcd4l.cpp index 441c60587..fb3a77716 100644 --- a/src/driver/lcd4l.cpp +++ b/src/driver/lcd4l.cpp @@ -937,7 +937,7 @@ bool CLCD4l::WriteFile(const char *file, std::string content, bool convert) strReplace(content, "Ä", "\xc4\0"); strReplace(content, "Ö", "\xd6\0"); strReplace(content, "Ü", "\xdc\0"); - + strReplace(content, "Ą", "\x41\0"); strReplace(content, "ą", "\x61\0"); strReplace(content, "Ć", "\x43\0"); @@ -956,7 +956,7 @@ bool CLCD4l::WriteFile(const char *file, std::string content, bool convert) strReplace(content, "ź", "\x7a\0"); strReplace(content, "Ź", "\x5a\0"); strReplace(content, "ż", "\x7a\0"); - + if (g_settings.lcd4l_display_type == PEARL) strReplace(content, "ß", "\xe2\0"); strReplace(content, "é", "e"); }