diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-02 16:39:16 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-02 16:39:16 +0100 |
commit | 308ba7c983c34c9b9b7d46f360f689b609c1f802 (patch) | |
tree | 686d277869d4426f7c200373cead8e939250fa3d /src/io.c | |
parent | 9a6df45c4b44ca2a9559add78c1bfe692ec485b8 (diff) | |
parent | 93767ce29c6ea41c40808276aa0ae9fc60d5eca5 (diff) | |
download | calcurse-308ba7c983c34c9b9b7d46f360f689b609c1f802.zip |
Merge branch 'maint'
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -526,7 +526,8 @@ void io_load_app(void) if (c == '!') { ungetc(c, data_file); recur_exc_scan(&exc, data_file); - c = getc(data_file); + while ((c = getc(data_file)) == ' ') ; + ungetc(c, data_file); } else if (c == '}') { while ((c = getc(data_file)) == ' ') ; ungetc(c, data_file); @@ -535,7 +536,8 @@ void io_load_app(void) } else if (c == '!') { /* endless item with exceptions */ ungetc(c, data_file); recur_exc_scan(&exc, data_file); - c = getc(data_file); + while ((c = getc(data_file)) == ' ') ; + ungetc(c, data_file); until.tm_year = 0; } else { io_load_error(path_apts, line, |