From: Christian Heller Date: Mon, 26 Aug 2013 03:09:28 +0000 (+0200) Subject: Removed redundant comment. X-Git-Tag: tce~1032 X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/%7B%7Bdb.prefix%7D%7D/static/%7B%7Bprefix%7D%7D/conditions?a=commitdiff_plain;h=45b98ea91cf2075e33dc2bfd302a701a959feb36;p=plomrogue Removed redundant comment. --- 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,