From e4f7e025e59707b655032f7a3347bf89bad47484 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Tue, 3 Oct 2000 11:39:04 +0200 Subject: [PATCH] No longer displaying the year in the 'Recordings' menu --- HISTORY | 4 +++- menu.c | 4 ++-- recording.c | 5 ++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HISTORY b/HISTORY index fca3f6a3..31a40a1c 100644 --- a/HISTORY +++ b/HISTORY @@ -204,7 +204,7 @@ Video Disk Recorder Revision History is no stdin in daemon mode, so KBD makes no sense - plus it sometimes crashed). -2000-10-01: Version 0.65 +2000-10-03: Version 0.65 - Modified LIRC interface to better handle repeat function (by Carsten Koch). - Faster OSD by first writing into a bitmap and then sending the entire bitmap @@ -212,3 +212,5 @@ Video Disk Recorder Revision History against the version 0.71 DVB driver file 'dvb.c'). - When switching channels the channel is now immediately displayed, and the current/next information is shown as soon as it becomes available. +- No longer displaying the year in the 'Recordings' menu to save space for the + title (by Carsten Koch). diff --git a/menu.c b/menu.c index 114ea7ef..63cd0a47 100644 --- a/menu.c +++ b/menu.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.27 2000/09/11 21:13:46 kls Exp $ + * $Id: menu.c 1.28 2000/10/03 11:32:41 kls Exp $ */ #include "menu.h" @@ -1002,7 +1002,7 @@ public: }; cMenuRecordings::cMenuRecordings(void) -:cOsdMenu("Recordings", 9, 6) +:cOsdMenu("Recordings", 6, 6) { if (Recordings.Load()) { cRecording *recording = Recordings.First(); diff --git a/recording.c b/recording.c index 518b4eb7..ae59688f 100644 --- a/recording.c +++ b/recording.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.c 1.16 2000/10/03 10:33:40 kls Exp $ + * $Id: recording.c 1.17 2000/10/03 11:32:03 kls Exp $ */ #define _GNU_SOURCE @@ -175,10 +175,9 @@ const char *cRecording::Title(char Delimiter) delete titleBuffer; titleBuffer = NULL; struct tm *t = localtime(&start); - asprintf(&titleBuffer, "%02d.%02d.%02d%c%02d:%02d%c%s", + asprintf(&titleBuffer, "%02d.%02d%c%02d:%02d%c%s", t->tm_mday, t->tm_mon + 1, - t->tm_year % 100, Delimiter, t->tm_hour, t->tm_min,