home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76642a2
)
Removed redundant comment.
author
Christian Heller
<c.heller@plomlompom.de>
Mon, 26 Aug 2013 03:09:28 +0000
(
05:09
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Mon, 26 Aug 2013 03:09:28 +0000
(
05:09
+0200)
src/windows.c
patch
|
blob
|
history
diff --git
a/src/windows.c
b/src/windows.c
index 50a48e3e5fc8afc810a0982495a7121ec103dc1f..64e610847a270313b21990660a3cec081ef4e95f 100644
(file)
--- 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,