aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-08-25 19:49:13 +0000
committerFrederic Culot <calcurse@culot.org>2006-08-25 19:49:13 +0000
commit1817863aae86359adef28b543da94322b79c6e56 (patch)
tree6b0195a1b01adc38197ccda3633bd48c374a9e59 /src
parent2cff5af696a99ab75dab7af7956664152ea7691e (diff)
downloadcalcurse-1817863aae86359adef28b543da94322b79c6e56.tar.gz
calcurse-1817863aae86359adef28b543da94322b79c6e56.zip
fixed a data format bug in load_app()
Diffstat (limited to 'src')
-rwxr-xr-xsrc/io.c6
1 files changed, 4 insertions, 2 deletions
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);