summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2011-04-18 15:53:39 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2011-04-22 02:47:37 +0200
commitcbd66b13b12d841f25711893709f19fb7905e6b3 (patch)
tree8d142b9d90afa5bacdb7f788bf2493c0ed4bcc4a /src
parent20c84c300354f79fac9952bf8b42ca26090baa09 (diff)
downloadcalcurse-cbd66b13b12d841f25711893709f19fb7905e6b3.zip
Use "event" structure when iterating over events in app_arg().
Regression introduced in commit 5b174ba5d46c256f41c1cfb952d46f49a088db8a. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r--src/args.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/args.c b/src/args.c
index 374e872..9510b69 100644
--- a/src/args.c
+++ b/src/args.c
@@ -394,7 +394,7 @@ app_arg (int add_line, struct date *day, long date, int print_note,
LLIST_FIND_FOREACH (&eventlist, today, event_inday, i)
{
- struct apoint *ev = LLIST_TS_GET_DATA (i);
+ struct event *ev = LLIST_TS_GET_DATA (i);
if (regex && regexec (regex, ev->mesg, 0, 0, 0) != 0)
continue;