Commit 6ca4badb authored by deuce's avatar deuce
Browse files

Fix off-by-one in shift which caused a crash.

parent 4ca595c8
......@@ -3020,7 +3020,7 @@ static void do_ansi(struct cterminal *cterm, char *retbuf, size_t retsize, int *
vc[k].bg=cterm->bg_color;
vc[k].font = ciolib_attrfont(cterm->attr);
}
vmem_puttext(max_col - i, row, max_col, max_row, vc);
vmem_puttext(max_col - i + 1, row, max_col, max_row, vc);
free(vc);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment