diff --git a/src/ical.c b/src/ical.c index dd14556..09d3b2a 100644 --- a/src/ical.c +++ b/src/ical.c @@ -899,11 +899,6 @@ static char *ical_read_note(char *line, unsigned *noskipped, ical_log(log, item_type, itemline, _("malformed description.")); (*noskipped)++; return NULL; - } else if (strlen(notestr) == 0) { - mem_free(notestr); - ical_log(log, item_type, itemline, _("empty description.")); - (*noskipped)++; - return NULL; } else { note = generate_note(notestr); mem_free(notestr); diff --git a/test/ical-009.sh b/test/ical-009.sh index 9558f15..31dc283 100755 --- a/test/ical-009.sh +++ b/test/ical-009.sh @@ -10,11 +10,12 @@ if [ "$1" = 'actual' ]; then echo "$out" | sed -n '4,5p' log=$(echo "$out" | awk '$1 == "See" {print $2}') cat "$log" | sed '1,17d' + cat $PWD/.calcurse/notes/* | wc rm -rf .calcurse || exit 1 elif [ "$1" = 'expected' ]; then cat <