summaryrefslogtreecommitdiff
path: root/src/recur.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-07-29 18:01:38 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-07-29 20:28:30 +0200
commit5a5c6d2604664478306b29b64bf876d7403b74bb (patch)
tree7fe273e883542e17ebd2e557b792c8ef1ed3cf92 /src/recur.c
parent8681af3c6d43ab7aa48dc49cd12058e9ba3d488e (diff)
downloadcalcurse-5a5c6d2604664478306b29b64bf876d7403b74bb.zip
Add "force" parameter to notify_check_next_app()
This allows to force notify_check_next_app() to update the notification appointment, even if start times are equal (e.g. if the item description was changed). Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/recur.c')
-rw-r--r--src/recur.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/recur.c b/src/recur.c
index 430e543..b2980fc 100644
--- a/src/recur.c
+++ b/src/recur.c
@@ -811,7 +811,7 @@ recur_apoint_erase (long start, unsigned num, unsigned delete_whole,
erase_note (&rapt->note, flag);
mem_free (rapt);
if (need_check_notify)
- notify_check_next_app ();
+ notify_check_next_app (0);
break;
}
}
@@ -819,7 +819,7 @@ recur_apoint_erase (long start, unsigned num, unsigned delete_whole,
{
recur_add_exc (&rapt->exc, start);
if (need_check_notify)
- notify_check_next_app ();
+ notify_check_next_app (0);
}
LLIST_TS_UNLOCK (&recur_alist_p);
}