From 4337f88820048d2663726b26c296ddf597914c58 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 13 Jan 2008 12:44:19 +0100 Subject: [PATCH] Added a missing setting of lastFreeMB in cMenuMain::Update() --- CONTRIBUTORS | 1 + HISTORY | 2 ++ menu.c | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e94f36fd..d5b6cc2d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -1604,6 +1604,7 @@ Andreas Brugger for suggesting to propagate the kInfo key to any open menu, so that it can react to it in a context sensitive manner for reporting a loss of the date display in the "classic" skin's main menu + for reporting a missing setting of lastFreeMB in cMenuMain::Update() Dino Ravnic for fixing some characters in the iso8859-2 font file diff --git a/HISTORY b/HISTORY index 96a89081..6a42fb94 100644 --- a/HISTORY +++ b/HISTORY @@ -5547,3 +5547,5 @@ Video Disk Recorder Revision History - Fixed error handling in cCuttingThread::Action() (thanks to Udo Richter). - Fixed a loss of the date display in the "classic" skin's main menu (reported by Andreas Brugger). +- Added a missing setting of lastFreeMB in cMenuMain::Update() (reported by + Andreas Brugger). diff --git a/menu.c b/menu.c index 43e401a7..93fe2581 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.467 2007/11/25 14:52:03 kls Exp $ + * $Id: menu.c 1.468 2008/01/13 12:43:09 kls Exp $ */ #include "menu.h" @@ -3015,6 +3015,7 @@ bool cMenuMain::Update(bool Force) Minutes %= 60; //XXX -> skin function!!! SetTitle(cString::sprintf("%s - %s %d%% - %2d:%02d %s", tr("VDR"), tr("Disk"), Percent, Hours, Minutes, tr("free"))); + lastFreeMB = FreeMB; result = true; } lastDiskSpaceCheck = time(NULL);