Code

list_window: "if ( x)" -> "if (x)"
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 3 Sep 2011 22:26:04 +0000 (00:26 +0200)
committerJonathan Neuschäfer <j.neuschaefer@gmx.net>
Fri, 16 Sep 2011 19:52:03 +0000 (21:52 +0200)
src/list_window.c

index 9d120c14e24eb97d2ce17994364cc830cfe78409..8e0b968149e88450d8b5e53370d6a682d7ee8029 100644 (file)
@@ -315,7 +315,7 @@ list_window_scroll_down(struct list_window *lw, unsigned n)
 {
        if (lw->start + lw->rows < lw->length)
        {
-               if ( lw->start + lw->rows + n > lw->length - 1)
+               if (lw->start + lw->rows + n > lw->length - 1)
                        lw->start = lw->length - lw->rows;
                else
                        lw->start += n;