From cbd66b13b12d841f25711893709f19fb7905e6b3 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 18 Apr 2011 15:53:39 +0200 Subject: Use "event" structure when iterating over events in app_arg(). Regression introduced in commit 5b174ba5d46c256f41c1cfb952d46f49a088db8a. Signed-off-by: Lukas Fleischer --- src/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/args.c') 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; -- cgit v1.2.3