diff options
author | Thomas White <taw@bitwiz.me.uk> | 2019-05-10 00:09:27 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.me.uk> | 2019-05-10 00:20:30 +0200 |
commit | d321c825e10eaaec66f3584e2bdb8edda4e44e0e (patch) | |
tree | 21bce781b269344b4d757443173c6ead2244c1a0 /libstorycode/storycode.c | |
parent | c3426c404324c2a629fe1403da548699abf9592d (diff) |
Add end of presentation marker
Diffstat (limited to 'libstorycode/storycode.c')
-rw-r--r-- | libstorycode/storycode.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstorycode/storycode.c b/libstorycode/storycode.c index 5b4901d..ca0d2d0 100644 --- a/libstorycode/storycode.c +++ b/libstorycode/storycode.c @@ -219,6 +219,10 @@ static int write_item(GOutputStream *fh, struct narrative_item *item) if ( write_string(fh, "}\n") ) return 1; break; + case NARRATIVE_ITEM_EOP: + if ( write_string(fh, "ENDOFPRESENTATION\n") ) return 1; + break; + } return 0; } |