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:
8de0e49
)
Corrected off-by-one error in windows.c:refit_pad() that lead to failure of subpad...
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 3 Sep 2013 14:29:19 +0000
(16:29 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 3 Sep 2013 14:29:19 +0000
(16:29 +0200)
src/windows.c
patch
|
blob
|
history
diff --git
a/src/windows.c
b/src/windows.c
index bd3ec4134f00b21d10e79ccd232ec7818036a21d..080880c8fff35f766ae791b5ede7152753a93604 100644
(file)
--- a/
src/windows.c
+++ b/
src/windows.c
@@
-79,7
+79,7
@@
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 (getmaxx(wmeta->padframe.curses_win)
+ 1
!= lastwincol)
{
if (lastwincol + 2 > UINT16_MAX)
{