ALL: Misaligned lines in the debug console
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
The debug console uses a circular buffer to store the
text in it. When this buffer wraps around, the lines
are drawn "misaligned", e.g. the input prompt is no
longer at the left side of the screen.
I think the problem happens because some part of the
code - I'm not sure which one - assumes that the buffer
size is a multiple of the line length.
This happens with the latest CVS snapshot of ScummVM,
and I noticed it because I was debugging the new BS2
memory manager. (The "mem" debugger command produces a
lot of output.)
Ticket imported from: #941811. Ticket imported from: bugs/1609.