aboutsummaryrefslogtreecommitdiff
path: root/src/narrative_window.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-11-27 00:12:46 +0100
committerThomas White <taw@physics.org>2017-11-27 00:13:19 +0100
commite851a106735a5498b3607a029a3091fd74879f3e (patch)
treec902d8ae358a613586b2280ce71a7ff7e16e8ba4 /src/narrative_window.c
parent2bf28d3b9de3ae3af076c569ffaccb66e13857f1 (diff)
Use ImageStore to get image size
Diffstat (limited to 'src/narrative_window.c')
-rw-r--r--src/narrative_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/narrative_window.c b/src/narrative_window.c
index 1552845..c93cba9 100644
--- a/src/narrative_window.c
+++ b/src/narrative_window.c
@@ -169,7 +169,7 @@ static struct template_id *get_templates(SCBlock *ss, int *n)
struct template_id *list;
SCInterpreter *scin;
- scin = sc_interp_new(NULL, NULL, NULL);
+ scin = sc_interp_new(NULL, NULL, NULL, NULL);
sc_interp_run_stylesheet(scin, ss); /* ss == NULL is OK */
list = sc_interp_get_templates(scin, n);
sc_interp_destroy(scin);