X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fwindows.c;fp=src%2Fwindows.c;h=080880c8fff35f766ae791b5ede7152753a93604;hb=fd4745e5d345fcce8bd9f41c2f5a10482de448be;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) {