mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
CVFD: make ShowText() use const char* to avoid ugly casts
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1549 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -428,7 +428,7 @@ void CVideoSettings::nextMode(void)
|
||||
text = VIDEOMENU_VIDEOMODE_OPTIONS[curmode].valname;
|
||||
|
||||
while(1) {
|
||||
CVFD::getInstance()->ShowText((char *)text);
|
||||
CVFD::getInstance()->ShowText(text);
|
||||
int res = ShowHintUTF(LOCALE_VIDEOMENU_VIDEOMODE, text, 450, 2);
|
||||
|
||||
if(disp_cur && res != messages_return::handled)
|
||||
@@ -455,7 +455,7 @@ void CVideoSettings::nextMode(void)
|
||||
}
|
||||
else if(res == messages_return::cancel_info) {
|
||||
g_settings.video_Mode = VIDEOMENU_VIDEOMODE_OPTIONS[curmode].key;
|
||||
//CVFD::getInstance()->ShowText((char *)text);
|
||||
//CVFD::getInstance()->ShowText(text);
|
||||
videoDecoder->SetVideoSystem(g_settings.video_Mode);
|
||||
//return;
|
||||
disp_cur = 1;
|
||||
|
Reference in New Issue
Block a user