From 45b98ea91cf2075e33dc2bfd302a701a959feb36 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 26 Aug 2013 05:09:28 +0200 Subject: [PATCH] Removed redundant comment. --- src/windows.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/windows.c b/src/windows.c index 50a48e3..64e6108 100644 --- a/src/windows.c +++ b/src/windows.c @@ -81,8 +81,8 @@ static uint8_t refit_pad(struct WinMeta * wmeta) /* Only resize the pad if the rightmost window column has changed. */ if (getmaxx(wmeta->padframe.curses_win) != lastwincol) { - if (lastwincol + 2 > UINT16_MAX) /* Abort if pad would grow beyond */ - { /* yx_uint16 confines. */ + if (lastwincol + 2 > UINT16_MAX) + { return 2; } return (ERR == wresize(wmeta->padframe.curses_win, -- 2.30.2