fixed a data format bug in load_app()
This commit is contained in:
parent
2cff5af696
commit
1817863aae
4
src/io.c
4
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
|
* Calcurse - text-based organizer
|
||||||
@ -333,6 +333,8 @@ void load_app()
|
|||||||
} else if (c == '!') { // endless item with exceptions
|
} else if (c == '!') { // endless item with exceptions
|
||||||
ungetc(c, data_file);
|
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;
|
until.tm_year = 0;
|
||||||
} else { /* NOT REACHED */
|
} else { /* NOT REACHED */
|
||||||
fputs(error, stderr);
|
fputs(error, stderr);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user