Use "event" structure when iterating over events in app_arg().

Regression introduced in commit
5b174ba5d46c256f41c1cfb952d46f49a088db8a.

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer 2011-04-18 15:53:39 +02:00
parent 20c84c3003
commit cbd66b13b1

View File

@ -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;