aboutsummaryrefslogtreecommitdiffstats
path: root/src/day.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-02-25 19:32:53 +0000
committerFrederic Culot <calcurse@culot.org>2007-02-25 19:32:53 +0000
commited40b1f038503f6b84c35ce6098578da0cacd59f (patch)
tree37a424413dcb63374fe27b75fb80d1abb909994f /src/day.c
parent58401dead825de58f6b340b15f14073bfa95d480 (diff)
downloadcalcurse-ed40b1f038503f6b84c35ce6098578da0cacd59f.tar.gz
calcurse-ed40b1f038503f6b84c35ce6098578da0cacd59f.zip
updated call to notify_check_added()
Diffstat (limited to 'src/day.c')
-rwxr-xr-xsrc/day.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/day.c b/src/day.c
index 2627813..84880ab 100755
--- a/src/day.c
+++ b/src/day.c
@@ -1,4 +1,4 @@
-/* $calcurse: day.c,v 1.18 2007/02/24 17:37:51 culot Exp $ */
+/* $calcurse: day.c,v 1.19 2007/02/25 19:32:53 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -596,11 +596,13 @@ void day_edit_item(int year, int month, int day, int item_num, int colr)
case RECUR_APPT:
ra_new = recur_apoint_new(p->mesg, p->start, p->appt_dur,
p->state, rpt->type, rpt->freq, rpt->until, NULL);
- if (notify_bar()) notify_check_repeated(ra_new);
+ if (notify_bar())
+ notify_check_repeated(ra_new);
break;
case APPT:
apoint_new(p->mesg, p->start, p->appt_dur, p->state);
- if (notify_bar()) notify_check_added(p->mesg, p->start);
+ if (notify_bar())
+ notify_check_added(p->mesg, p->start, p->state);
break;
}
}