diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-29 18:01:38 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-07-29 20:28:30 +0200 |
commit | 5a5c6d2604664478306b29b64bf876d7403b74bb (patch) | |
tree | 7fe273e883542e17ebd2e557b792c8ef1ed3cf92 /src/apoint.c | |
parent | 8681af3c6d43ab7aa48dc49cd12058e9ba3d488e (diff) | |
download | calcurse-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/apoint.c')
-rw-r--r-- | src/apoint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apoint.c b/src/apoint.c index ab3fab5..8771426 100644 --- a/src/apoint.c +++ b/src/apoint.c @@ -516,7 +516,7 @@ apoint_delete_bynum (long start, unsigned num, enum eraseflg flag) erase_note (&apt->note, flag); mem_free (apt); if (need_check_notify) - notify_check_next_app (); + notify_check_next_app (0); break; } @@ -663,7 +663,7 @@ apoint_switch_notify (void) if (notify_bar ()) notify_check_added (apt->mesg, apt->start, apt->state); if (need_chk_notify) - notify_check_next_app (); + notify_check_next_app (0); LLIST_TS_UNLOCK (&alist_p); } |