aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/storycode.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.me.uk>2019-09-30 22:26:32 +0200
committerThomas White <taw@physics.org>2019-10-05 17:03:43 +0200
commit177faf897bee50bd87164d03c82d04d145d963d2 (patch)
treef8446275c060d58e39db2b93483c7298ab4dea34 /libstorycode/storycode.c
parentfc089b188d701d7361e3fe5d1606a006bd18745a (diff)
Fix function calls
Diffstat (limited to 'libstorycode/storycode.c')
-rw-r--r--libstorycode/storycode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libstorycode/storycode.c b/libstorycode/storycode.c
index c35afcb..c682d15 100644
--- a/libstorycode/storycode.c
+++ b/libstorycode/storycode.c
@@ -148,13 +148,13 @@ static void write_text(GOutputStream *fh, SlideItem *item, int geom,
indent = strlen(tmp);
write_string(fh, tmp);
write_string(fh, ": ");
- write_para(fh, &item->paras[0], item->paras[0].n_runs);
+ write_para(fh, item->paras[0].runs, item->paras[0].n_runs);
write_string(fh, "\n");
for ( i=0; i<indent; i++ ) tmp[i] = ' ';
for ( i=1; i<item->n_paras; i++ ) {
write_string(fh, tmp);
write_string(fh, ": ");
- write_para(fh, &item->paras[i], item->paras[i].n_runs);
+ write_para(fh, item->paras[i].runs, item->paras[i].n_runs);
write_string(fh, "\n");
}
}