mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-13 16:33:36 +02:00
activate umlauts for hd51
Origin commit data
------------------
Branch: ni/coolstream
Commit: 3a3d45b8ad
Author: GetAway <get-away@t-online.de>
Date: 2021-05-09 (Sun, 09 May 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -247,7 +247,8 @@ void CLCD::showServicename(std::string name, const int num, bool)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
replace_umlauts(servicename);
|
if (!g_info.hw_caps->display_can_umlauts)
|
||||||
|
replace_umlauts(servicename);
|
||||||
strncpy(display_text, servicename.c_str(), sizeof(display_text) - 1);
|
strncpy(display_text, servicename.c_str(), sizeof(display_text) - 1);
|
||||||
display_text[sizeof(display_text) - 1] = '\0';
|
display_text[sizeof(display_text) - 1] = '\0';
|
||||||
}
|
}
|
||||||
@@ -430,7 +431,8 @@ void CLCD::showMenuText(const int, const char *text, const int, const bool)
|
|||||||
if (mode != MODE_MENU_UTF8)
|
if (mode != MODE_MENU_UTF8)
|
||||||
return;
|
return;
|
||||||
std::string tmp = text;
|
std::string tmp = text;
|
||||||
replace_umlauts(tmp);
|
if (!g_info.hw_caps->display_can_umlauts)
|
||||||
|
replace_umlauts(tmp);
|
||||||
ShowText(tmp.c_str());
|
ShowText(tmp.c_str());
|
||||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
wake_up();
|
wake_up();
|
||||||
@@ -442,7 +444,8 @@ void CLCD::showAudioTrack(const std::string &, const std::string & title, const
|
|||||||
if (mode != MODE_AUDIO)
|
if (mode != MODE_AUDIO)
|
||||||
return;
|
return;
|
||||||
std::string tmp = title;
|
std::string tmp = title;
|
||||||
replace_umlauts(tmp);
|
if (!g_info.hw_caps->display_can_umlauts)
|
||||||
|
replace_umlauts(tmp);
|
||||||
ShowText(tmp.c_str());
|
ShowText(tmp.c_str());
|
||||||
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
|
||||||
wake_up();
|
wake_up();
|
||||||
|
Reference in New Issue
Block a user