From: Jonathan Neuschäfer Date: Sat, 3 Sep 2011 22:26:04 +0000 (+0200) Subject: list_window: "if ( x)" -> "if (x)" X-Git-Tag: release-0.20~93 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=786a6d4cede4cf68e6e3f88d0a95280eac498aee;p=ncmpc.git list_window: "if ( x)" -> "if (x)" --- diff --git a/src/list_window.c b/src/list_window.c index 9d120c1..8e0b968 100644 --- a/src/list_window.c +++ b/src/list_window.c @@ -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;