Fixed displaying the free disk space

This commit is contained in:
Klaus Schmidinger 2008-03-14 13:11:28 +01:00
parent 0e0a1dfdda
commit 864acdeed4
3 changed files with 7 additions and 2 deletions

View File

@ -1048,6 +1048,8 @@ Rolf Ahrenberg <rahrenbe@cc.hut.fi>
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 <ralf.klueber@vodafone.com>
for reporting a bug in cutting a recording if there is only a single editing mark

View File

@ -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).

4
menu.c
View File

@ -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();
}