summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-01-13 12:44:19 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-01-13 12:44:19 +0100
commit4337f88820048d2663726b26c296ddf597914c58 (patch)
treed1dc55b7222b67f4d59ab53d8a10af2be8ef4fdb
parent39a3ad2b2ee6b124d4304fef4818803dea3df880 (diff)
downloadvdr-4337f88820048d2663726b26c296ddf597914c58.tar.gz
vdr-4337f88820048d2663726b26c296ddf597914c58.tar.bz2
Added a missing setting of lastFreeMB in cMenuMain::Update()
-rw-r--r--CONTRIBUTORS1
-rw-r--r--HISTORY2
-rw-r--r--menu.c3
3 files changed, 5 insertions, 1 deletions
diff --git a/CONTRIBUTORS b/CONTRIBUTORS
index e94f36fd..d5b6cc2d 100644
--- a/CONTRIBUTORS
+++ b/CONTRIBUTORS
@@ -1604,6 +1604,7 @@ Andreas Brugger <brougs78@gmx.net>
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 <dino.ravnic@fer.hr>
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);