From d321c825e10eaaec66f3584e2bdb8edda4e44e0e Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 10 May 2019 00:09:27 +0200 Subject: Add end of presentation marker --- libstorycode/storycode.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libstorycode/storycode.c') 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; } -- cgit v1.2.3