From 864acdeed401e63bedc9619632515c01251448d6 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Fri, 14 Mar 2008 13:11:28 +0100 Subject: Fixed displaying the free disk space --- CONTRIBUTORS | 2 ++ HISTORY | 3 +++ menu.c | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 93844cdf..4dd00de6 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1048,6 +1048,8 @@ Rolf Ahrenberg for increasing the valid range of the "Subtitle offset" setup option to -100...100 for a patch that was used to fix automatically selecting the preferred subtitle language + for fixing displaying the free disk space when entering the recordings menu where + the last replayed recording was in a subdirectory, and pressing Back Ralf Klueber for reporting a bug in cutting a recording if there is only a single editing mark diff --git a/HISTORY b/HISTORY index b8a9ec54..e91cce81 100644 --- a/HISTORY +++ b/HISTORY @@ -5715,3 +5715,6 @@ Video Disk Recorder Revision History - Updated the Swedish OSD texts (thanks to Magnus Andersson). - Added Russian translations to the 'skincurses' and 'pictures' plugins (thanks to Alexander Gross). +- Fixed displaying the free disk space when entering the recordings menu where the + last replayed recording was in a subdirectory, and pressing Back (thanks to Rolf + Ahrenberg). diff --git a/menu.c b/menu.c index 37da3ddc..b7a21af7 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.480 2008/02/24 10:28:46 kls Exp $ + * $Id: menu.c 1.481 2008/03/14 13:09:19 kls Exp $ */ #include "menu.h" @@ -1913,11 +1913,11 @@ cMenuRecordings::cMenuRecordings(const char *Base, int Level, bool OpenSubMenus) helpKeys = -1; Display(); // this keeps the higher level menus from showing up briefly when pressing 'Back' during replay Set(); + SetFreeDiskDisplay(true); if (Current() < 0) SetCurrent(First()); else if (OpenSubMenus && cReplayControl::LastReplayed() && Open(true)) return; - SetFreeDiskDisplay(true); Display(); SetHelpKeys(); } -- cgit v1.2.3