From: Michael Göhler Date: Sat, 2 Apr 2016 22:15:58 +0000 (+0200) Subject: make pandoc urls appear on stopped slides, closes #103 X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=a92d65ac6f5252b24e1c5070bad09cecd8e837bf;p=smdp.git make pandoc urls appear on stopped slides, closes #103 --- diff --git a/src/viewer.c b/src/viewer.c index 89365bf..f59d584 100644 --- a/src/viewer.c +++ b/src/viewer.c @@ -346,8 +346,9 @@ int ncurses_display(deck_t *deck, int notrans, int nofade, int invert, int reloa } // print pandoc URL references - // only if we already printed all lines of the current slide - if(!line) { + // only if we already printed all lines of the current slide (or output is stopped) + if(!line || + stop > slide->stop) { int i, ymax; getmaxyx( content, ymax, i ); for (i = 0; i < url_get_amount(); i++) {