tSimplify reloading, remove lines. - catpoint - Catpoint simple presenting software.
(HTM) git clone git://r-36.net/catpoint
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 8fe4f9e73396be7894f7b72b3428a55b76bb7643
(DIR) parent bfffb92ac6b36152b642c3eefe2dc7a77dcf5fe4
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 20 Dec 2020 19:20:40 +0100
Simplify reloading, remove lines.
Thanks Bob for the suggestion!
Diffstat:
catpoint.c | 4 ----
1 file changed, 0 insertions(+), 4 deletions(-)
---
(DIR) diff --git a/catpoint.c b/catpoint.c
t@@ -59,8 +59,6 @@ loadcurrentslide(char **argv, int slide)
void
reloadcurrentslide(int sig)
{
- loadcurrentslide(slidefiles, currentslide);
-
if (sig == SIGHUP) {
/* Make ncurses redisplay slide. */
if (raise(SIGWINCH) < 0)
t@@ -168,8 +166,6 @@ again:
goto show;
/* reload */
case 'r':
- reloadcurrentslide(0);
- goto show;
case 12: /* ^L, redraw */
case KEY_RESIZE: /* resize / SIGWINCH */
goto show;