Increase default wake time from 8 to 9 hours.
authorAndre Noll <maan@systemlinux.org>
Wed, 31 Oct 2007 14:22:24 +0000 (15:22 +0100)
committerAndre Noll <maan@systemlinux.org>
Wed, 31 Oct 2007 14:22:24 +0000 (15:22 +0100)
fade.c
fade.ggo

diff --git a/fade.c b/fade.c
index faf9b59..f269f02 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -205,7 +205,7 @@ static void sweet_dreams(void)
                tm->tm_min = min;
                tm->tm_sec = 0;
        } else {
-               t1 += 8 * 60 * 60;
+               t1 += 9 * 60 * 60; /* nine hours from now */
                PARA_INFO_LOG("default wake time: %lu\n", t1);
                tm = localtime(&t1);
        }
index 240689e..814a656 100644 (file)
--- a/fade.ggo
+++ b/fade.ggo
@@ -67,7 +67,7 @@ playing if unset."
 
 option "wake_hour" H
 #~~~~~~~~~~~~~~~~~~~
- "(0-23) (default: now + 8 hours)"
+ "(0-23) (default: now + 9 hours)"
        int typestr="hour"
        optional