Simplify reloading, remove lines. - catpoint - Catpoint simple presenting software. HTML git clone git://bitreich.org/catpoint/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/catpoint/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 8fe4f9e73396be7894f7b72b3428a55b76bb7643 DIR parent bfffb92ac6b36152b642c3eefe2dc7a77dcf5fe4 HTML 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: M catpoint.c | 4 ---- 1 file changed, 0 insertions(+), 4 deletions(-) --- DIR diff --git a/catpoint.c b/catpoint.c @@ -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) @@ -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;