mirror of
				https://github.com/vdr-projects/vdr.git
				synced 2025-03-01 10:50:46 +00:00 
			
		
		
		
	Added a missing setting of lastFreeMB in cMenuMain::Update()
This commit is contained in:
		| @@ -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 | ||||
|   | ||||
							
								
								
									
										2
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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). | ||||
|   | ||||
							
								
								
									
										3
									
								
								menu.c
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user