summaryrefslogtreecommitdiff
path: root/src/screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/screen.c')
-rw-r--r--src/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c
index 0b1b5a8..6a6c579 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1329,7 +1329,7 @@ scr_rvideo_mode(int mode)
maxlines = TermWin.saveLines + TERM_WINDOW_GET_REPORTED_ROWS();
for (i = TermWin.saveLines; i < maxlines; i++)
- for (j = 0; j < TERM_WINDOW_GET_REPORTED_COLS() + 1; j++)
+ for (j = 0; j < TERM_WINDOW_GET_REPORTED_COLS(); j++)
screen.rend[i][j] ^= RS_RVid;
scr_refresh(SLOW_REFRESH);
}