aboutsummaryrefslogtreecommitdiff
path: root/calendar.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-03 13:27:20 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-03 13:27:20 +0100
commit1fd1232450a215a37915e3657964f2dad7ce72d6 (patch)
tree907cb87e027c12ffd550081513340db5aef3589a /calendar.c
parentMade .x files secoundary in makefile. (diff)
downloadcalp-1fd1232450a215a37915e3657964f2dad7ce72d6.tar.gz
calp-1fd1232450a215a37915e3657964f2dad7ce72d6.tar.xz
Add graphviz output for TRIE's.
Add simple output in dot format for trie structures. Along with a slightly updated main which handles a few more command line arguments. Also updated makefile to generate pdf's from dot files and dot-files from parse.
Diffstat (limited to 'calendar.c')
-rw-r--r--calendar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/calendar.c b/calendar.c
index f99eb775..abecef89 100644
--- a/calendar.c
+++ b/calendar.c
@@ -46,6 +46,7 @@ int read_vcalendar(vcalendar* cal, char* path) {
* Preferably, a special case is made for vdir structures
* which can assume that all headers are equal. */
parse_file(f, cal);
+ cal->events[cal->n_events - 1]->filename = fname;
fclose(f);
}