[CONTACT]

[ABOUT]

[POLICY]

git clone catpoint catpoint Log gph

Found at: gopher.r-36.net:70/scm/catpoint/commit/8fe4f9e73396be7894f7b72b3428a55b76bb7643.gph

tSimplify reloading, remove lines. - catpoint - Catpoint simple presenting software.

git clone git://r-36.net/catpoint

Log

Files

Refs

LICENSE

---

commit 8fe4f9e73396be7894f7b72b3428a55b76bb7643

parent bfffb92ac6b36152b642c3eefe2dc7a77dcf5fe4

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(-)
---

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;
.


AD: