home · contact · privacy
Removed redundant comment.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 26 Aug 2013 03:09:28 +0000 (05:09 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 26 Aug 2013 03:09:28 +0000 (05:09 +0200)
src/windows.c

index 50a48e3e5fc8afc810a0982495a7121ec103dc1f..64e610847a270313b21990660a3cec081ef4e95f 100644 (file)
@@ -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,