diff options
Diffstat (limited to 'calendar/gui/alarm.c')
-rw-r--r-- | calendar/gui/alarm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/alarm.c b/calendar/gui/alarm.c index 257be27ec5..c89b65ff5e 100644 --- a/calendar/gui/alarm.c +++ b/calendar/gui/alarm.c @@ -97,7 +97,7 @@ pop_alarm (void) now = time (NULL); new_ar = alarms->data; - if (!setup_itimer (new_ar->trigger)) { + if (!setup_itimer (new_ar->trigger - now)) { g_message ("pop_alarm(): Could not reset the timer! " "Weird things will happen."); |