1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

Added a missing 'P' to vdr.c's SHUTDOWNCANCELROMPT macro

This commit is contained in:
Klaus Schmidinger 2007-07-22 11:40:01 +02:00
parent 1858245fc8
commit 2cf50221c2
3 changed files with 21 additions and 18 deletions

View File

@ -1404,6 +1404,7 @@ Marco Schl
for adapting 'libsi' to DVB-S2
for fixing handling ChannelUp/Down keys if there is currently a replay running
for fixing a buffer overflow in initializing the system character table
for reporting a missing 'P' in vdr.c's SHUTDOWNCANCELROMPT macro
Jürgen Schmitz <j.schmitz@web.de>
for reporting a bug in displaying the current channel when switching via the SVDRP

View File

@ -5296,3 +5296,5 @@ Video Disk Recorder Revision History
- Fixed detection of Premiere NVOD channel links (thanks to anonymous).
- Added a table of the used trick speed values to the description of
cDevice::TrickSpeed() (suggested by Martin Dauskardt).
- Added a missing 'P' to vdr.c's SHUTDOWNCANCELROMPT macro (reported by Marco
Schlüßler).

6
vdr.c
View File

@ -22,7 +22,7 @@
*
* The project's page is at http://www.cadsoft.de/vdr
*
* $Id: vdr.c 1.293 2007/06/17 11:23:08 kls Exp $
* $Id: vdr.c 1.294 2007/07/22 11:40:01 kls Exp $
*/
#include <getopt.h>
@ -70,7 +70,7 @@
#define SHUTDOWNWAIT 300 // seconds to wait in user prompt before automatic shutdown
#define SHUTDOWNRETRY 360 // seconds before trying again to shut down
#define SHUTDOWNFORCEPROMPT 5 // seconds to wait in user prompt to allow forcing shutdown
#define SHUTDOWNCANCELROMPT 5 // seconds to wait in user prompt to allow canceling shutdown
#define SHUTDOWNCANCELPROMPT 5 // seconds to wait in user prompt to allow canceling shutdown
#define RESTARTCANCELPROMPT 5 // seconds to wait in user prompt before restarting on SIGHUP
#define MANUALSTART 600 // seconds the next timer must be in the future to assume manual start
#define CHANNELSAVEDELTA 600 // seconds before saving channels.conf after automatic modifications
@ -1037,7 +1037,7 @@ int main(int argc, char *argv[])
break;
}
// Ask the final question:
if (!Interface->Confirm(tr("Press any key to cancel shutdown"), SHUTDOWNCANCELROMPT, true))
if (!Interface->Confirm(tr("Press any key to cancel shutdown"), SHUTDOWNCANCELPROMPT, true))
// If final question was canceled, continue to be active:
break;
// Ok, now call the shutdown script: