]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - gui.c
Remove an overambitious sanity check in the fecdec filter.
[paraslash.git] / gui.c
diff --git a/gui.c b/gui.c
index 499845d9dadcdb6802b6ac49ab470d969729314c..15422b96bc94a5c82fd29e93a11df7c4317c2e1c 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -896,7 +896,7 @@ static int open_audiod_pipe(void)
  * when any key is pressed.
  *
  * EXTERNAL_MODE: Check only signal pipe. Used when an external command
- * is running. During that thime curses is disabled.  Returns when
+ * is running. During that time curses is disabled.  Returns when
  * cmd_pid == 0.
  */
 static int do_select(int mode)
@@ -1092,13 +1092,14 @@ static void com_page_up(void)
 {
        unsigned lines;
        int fvr = first_visible_rbe(&lines);
+
        if (fvr < 0 || fvr + 1 >= ringbuffer_filled(bot_win_rb)) {
                print_in_bar(COLOR_ERRMSG, "top of buffer is shown\n");
                return;
        }
        scroll_position = fvr + 1;
        for (; scroll_position > 0; scroll_position--) {
-               fvr = first_visible_rbe(&lines);
+               first_visible_rbe(&lines);
                if (lines == bot.lines)
                        break;
        }
@@ -1182,7 +1183,7 @@ static void com_ll_incr(void)
 {
        if (loglevel >= LL_EMERG) {
                print_in_bar(COLOR_ERRMSG,
-                       "loglevel already at miminal verbosity\n");
+                       "loglevel already at minimal verbosity\n");
                return;
        }
        loglevel++;