diff options
author | Joachim Wilke <vdr@joachim-wilke.de> | 2006-11-12 00:00:00 +0100 |
---|---|---|
committer | Joachim Wilke <vdr@joachim-wilke.de> | 2006-11-12 00:00:00 +0100 |
commit | 267f42f0507a5bbf915deab1bef69dc7e470e9da (patch) | |
tree | 82e6dd968619649c257d0af987ce5c7749f13e1b /lcd.c | |
parent | d40a2445b68a7153515e1905704f9c401ddb82f4 (diff) | |
download | vdr-plugin-lcdproc-267f42f0507a5bbf915deab1bef69dc7e470e9da.tar.gz vdr-plugin-lcdproc-267f42f0507a5bbf915deab1bef69dc7e470e9da.tar.bz2 |
Version 0.0.10-jw2v0.0.10-jw2release/v0.0.10-jw2
Diffstat (limited to 'lcd.c')
-rw-r--r-- | lcd.c | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -598,9 +598,14 @@ void cLcd::GetTimeDateStat( char *string, unsigned int OutStateData[] ) { } if ( offset || ( ShowStates && ((t%LcdSetup.FullCycle) >= LcdSetup.TimeCycle) )) { - for (i=0; i<LCDMAXCARDS; i++) { - snprintf(string+offset,5," %d:%c", i,States[ OutStateData[i] ] ); - offset+=4; + if (LcdSetup.RecordingStatus == 0) { + for (i=0; i<LCDMAXCARDS; i++) { + snprintf(string+offset,5," %d:%c", i,States[ OutStateData[i] ] ); + offset+=4; + } + } + else { + snprintf(string,wid+1,"<%s %02d:%02d:%02d>", tr("RECORDING"), now->tm_hour, now->tm_min,now->tm_sec); } } |