added newline between events

This commit is contained in:
bjt-user 2023-08-24 02:15:46 +02:00
parent 1d0e412d86
commit bdface378e
1 changed files with 4 additions and 1 deletions

View File

@ -52,7 +52,10 @@ void print_upcoming(struct event *head, char current_start_date[]) {
pretty_print_date_time(head->start_date);
print_end_date(head->end_date);
printf("\n%s\n", head->summary);
if (head->next != NULL)
printf("\n");
}
head = head->next;
head = head->next;
}
}