summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/apoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apoint.c b/src/apoint.c
index 859e807..6fd9e64 100644
--- a/src/apoint.c
+++ b/src/apoint.c
@@ -657,7 +657,7 @@ apoint_switch_notify (void)
need_chk_notify = 0;
LLIST_TS_LOCK (&alist_p);
- struct apoint *apt = apoint_get (apoint_nb, date);
+ struct apoint *apt = apoint_get (date, apoint_nb);
apt->state ^= APOINT_NOTIFY;
if (notify_bar ())