[ scummvm-Bugs-941811 ] ALL: Misaligned lines in the debug console

SourceForge.net noreply at sourceforge.net
Sun Apr 25 17:24:23 CEST 2004


Bugs item #941811, was opened at 2004-04-25 17:24
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=941811&group_id=37116

Category: Graphics
Group: All Games
Status: Open
Resolution: None
Priority: 5
Submitted By: Torbjörn Andersson (eriktorbjorn)
Assigned to: Nobody/Anonymous (nobody)
Summary: ALL: Misaligned lines in the debug console

Initial Comment:
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.)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=418820&aid=941811&group_id=37116




More information about the Scummvm-tracker mailing list