X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Fwindows.c;h=080880c8fff35f766ae791b5ede7152753a93604;hb=2f0b15e05b0df7e10a2d0bb04ce4648455d980a8;hp=bd3ec4134f00b21d10e79ccd232ec7818036a21d;hpb=8de0e493346efc0f7f303ee0c06c19a55957342c;p=plomrogue
diff --git a/src/windows.c b/src/windows.c
index bd3ec41..080880c 100644
--- 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)
{