diff options
author | Frederic Culot <calcurse@culot.org> | 2006-08-25 19:49:13 +0000 |
---|---|---|
committer | Frederic Culot <calcurse@culot.org> | 2006-08-25 19:49:13 +0000 |
commit | 1817863aae86359adef28b543da94322b79c6e56 (patch) | |
tree | 6b0195a1b01adc38197ccda3633bd48c374a9e59 /src | |
parent | 2cff5af696a99ab75dab7af7956664152ea7691e (diff) | |
download | calcurse-1817863aae86359adef28b543da94322b79c6e56.tar.gz calcurse-1817863aae86359adef28b543da94322b79c6e56.zip |
fixed a data format bug in load_app()
Diffstat (limited to 'src')
-rwxr-xr-x | src/io.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |