diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-27 13:11:23 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-01-27 13:11:23 +0100 |
commit | 28e54bc648502820202ea44f6a990c9502f901f7 (patch) | |
tree | 436b3e56eb28e8c13002e97c511c11234c55f0b4 /dvbapi.c | |
parent | 53c5499a0b93cd1cb47394381c4262f01b6c0c00 (diff) | |
download | vdr-28e54bc648502820202ea44f6a990c9502f901f7.tar.gz vdr-28e54bc648502820202ea44f6a990c9502f901f7.tar.bz2 |
The 'Main' menu now displays the used disk space in the title
Diffstat (limited to 'dvbapi.c')
-rw-r--r-- | dvbapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ * DVD support initially written by Andreas Schultz <aschultz@warp10.net> * based on dvdplayer-0.5 by Matjaz Thaler <matjaz.thaler@guest.arnes.si> * - * $Id: dvbapi.c 1.145 2002/01/26 15:28:41 kls Exp $ + * $Id: dvbapi.c 1.146 2002/01/26 15:39:48 kls Exp $ */ //#define DVDDEBUG 1 @@ -507,7 +507,7 @@ cRecordBuffer::~cRecordBuffer() bool cRecordBuffer::RunningLowOnDiskSpace(void) { if (time(NULL) > lastDiskSpaceCheck + DISKCHECKINTERVAL) { - uint Free = FreeDiskSpaceMB(fileName.Name()); + int Free = FreeDiskSpaceMB(fileName.Name()); lastDiskSpaceCheck = time(NULL); if (Free < MINFREEDISKSPACE) { dsyslog(LOG_INFO, "low disk space (%d MB, limit is %d MB)", Free, MINFREEDISKSPACE); |