diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-29 20:22:54 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-29 20:38:59 +0200 |
commit | 709525cf8d545f039e99a033068c1242a3bc4a31 (patch) | |
tree | 0c3497046459505b083d2cb33bba622bd2041df3 /src | |
parent | 1a849cfb8e32c88ca795551bdc5c01716d44593f (diff) | |
download | calcurse-709525cf8d545f039e99a033068c1242a3bc4a31.tar.gz calcurse-709525cf8d545f039e99a033068c1242a3bc4a31.zip |
Fix apoint_get() call in apoint_switch_notify()
We passed the function arguments the wrong way round. This regression
was introduced in commit 77ef3fe76e4ce4c9a990e8a5904ad2d83420ca02.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/apoint.c | 2 |
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 ()) |