From 1817863aae86359adef28b543da94322b79c6e56 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Fri, 25 Aug 2006 19:49:13 +0000 Subject: fixed a data format bug in load_app() --- src/io.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/io.c b/src/io.c index f07ac4f..e0573a7 100755 --- a/src/io.c +++ b/src/io.c @@ -1,4 +1,4 @@ -/* $calcurse: io.c,v 1.3 2006/08/19 14:57:46 culot Exp $ */ +/* $calcurse: io.c,v 1.4 2006/08/25 19:49:13 culot Exp $ */ /* * Calcurse - text-based organizer @@ -332,7 +332,9 @@ void load_app() fscanf(data_file, " | "); // useless '|' } else if (c == '!') { // endless item with exceptions ungetc(c, data_file); - exc = recur_exc_scan(data_file); + exc = recur_exc_scan(data_file); + if (is_appointment) + fscanf(data_file, " | "); // useless '|' until.tm_year = 0; } else { /* NOT REACHED */ fputs(error, stderr); -- cgit v1.2.3-70-g09d2