diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-27 11:14:54 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2011-08-27 11:14:54 +0200 |
commit | 6700e772e5da3757a91fcc500128adc7c16bb355 (patch) | |
tree | 40f2f3090c55a165dbd46e17d183493abdf8ed6a /menu.c | |
parent | ac5f296f20d2d573e4b800c26c8ec4fff8e9f838 (diff) | |
download | vdr-6700e772e5da3757a91fcc500128adc7c16bb355.tar.gz vdr-6700e772e5da3757a91fcc500128adc7c16bb355.tar.bz2 |
The Recordings menu now displays the length (in hours:minutes) of each recording
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 2.31 2011/08/26 13:20:23 kls Exp $ + * $Id: menu.c 2.32 2011/08/27 11:05:33 kls Exp $ */ #include "menu.h" @@ -2193,13 +2193,13 @@ void cMenuRecordingItem::IncrementCounter(bool New) totalEntries++; if (New) newEntries++; - SetText(cString::sprintf("%d\t%d\t%s", totalEntries, newEntries, name)); + SetText(cString::sprintf("%d\t\t%d\t%s", totalEntries, newEntries, name)); } // --- cMenuRecordings ------------------------------------------------------- cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus) -:cOsdMenu(Base ? Base : tr("Recordings"), 9, 7) +:cOsdMenu(Base ? Base : tr("Recordings"), 9, 6, 6) { base = Base ? strdup(Base) : NULL; level = Setup.RecordingDirs ? Level : -1; |