diff options
author | Martin Hammerschmid <linux@home.pages.at> | 2002-09-01 17:31:08 +0200 |
---|---|---|
committer | Martin Hammerschmid <linux@home.pages.at> | 2002-09-01 17:31:08 +0200 |
commit | 9cf2257c7c90a564229727cd01ed7a7f344293ab (patch) | |
tree | 790194fd02d4c60d24df6f9fcc440cf05c6eec40 /lcd.c | |
parent | ca0ae4567ef652252372fba01327dd23d9d1b8b0 (diff) | |
download | vdr-plugin-lcdproc-9cf2257c7c90a564229727cd01ed7a7f344293ab.tar.gz vdr-plugin-lcdproc-9cf2257c7c90a564229727cd01ed7a7f344293ab.tar.bz2 |
Version 0.0.4v0.0.4release/v0.0.4
Diffstat (limited to 'lcd.c')
-rw-r--r-- | lcd.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -5,11 +5,11 @@ #include <ctype.h> #include <sys/time.h> #include <vdr/config.h> -#include <vdr/i18n.h> #include <vdr/tools.h> #include "lcd.h" #include "sockets.h" #include "lcdkeyconf.h" +#include "i18n.h" // character mapping for output, see cLcd::Write #ifdef LCD_hd44780 @@ -563,7 +563,7 @@ void cLcd::Action(void) { // LCD output thread SetRunning(false,Present->GetTimeString(),PresentTitle,PresentSubtitle); else if (!isempty(PresentTitle)) SetRunning(false,Present->GetTimeString(),PresentTitle); } else - SetRunning(false,"No EPG info available.\0", NULL); // XXX tr !!! + SetRunning(false,tr("No EPG info available."), NULL); if ((Present = Schedule->GetFollowingEvent()) != NULL) nextLcdUpdate=(Present->GetTime()<nextLcdUpdate)?Present->GetTime():nextLcdUpdate; } @@ -599,8 +599,8 @@ void cLcd::Action(void) { // LCD output thread // scroller - if ( (OutStateData.State==PrevState) && ( PrevState == Replay || PrevState == Menu || PrevState == Title ) ) { - switch (PrevState) { + if ( (OutStateData.State==PrevState) && ( OutStateData.State == Replay || OutStateData.State == Menu || OutStateData.State == Title ) ) { + switch (OutStateData.State) { case Replay: ScrollState=LCDREPLAY; ScrollLine=1; break; |