Use LLIST_{,TS}_FIND_FOREACH_CONT where appropriate

Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
Lukas Fleischer
2011-10-04 10:11:42 +02:00
parent 9c1cbbdb22
commit 146877a7da
2 changed files with 4 additions and 4 deletions

View File

@@ -394,7 +394,7 @@ app_arg (int add_line, struct date *day, long date, int print_note,
print_notefile (stdout, re->note, 2);
}
LLIST_FIND_FOREACH (&eventlist, today, event_inday, i)
LLIST_FIND_FOREACH_CONT (&eventlist, today, event_inday, i)
{
struct event *ev = LLIST_TS_GET_DATA (i);
if (regex && regexec (regex, ev->mesg, 0, 0, 0) != 0)