fixed bug when SUMMARY is not directly followed by colon

This commit is contained in:
bjoernf 2024-01-01 10:15:32 +01:00
parent 4ff2e705e2
commit af46177bcd

View File

@ -9,7 +9,7 @@ void parse_event(char event_string[], struct event **head) {
char *start_date = strstr(event_string, "\r\nDTSTART;");
char *end_date = strstr(event_string, "\r\nDTEND;");
char *sequence = strstr(event_string, "\r\nSEQUENCE:");
char *summary = strstr(event_string, "\r\nSUMMARY:");
char *summary = strstr(event_string, "\r\nSUMMARY");
char *location = strstr(event_string, "\r\nLOCATION:");
char *transp = strstr(event_string, "\r\nTRANSP:");