Maybe this change will cure one of erik's two console bug reports (namely #941811). Maybe not

svn-id: r13794
This commit is contained in:
Max Horn 2004-05-05 23:08:30 +00:00
parent 71df4c5e72
commit 83cd000207

View File

@ -112,8 +112,12 @@ void ConsoleDialog::drawDialog() {
for (int line = 0; line < _linesPerPage; line++) {
int x = _x + 1;
for (int column = 0; column < _lineWidth; column++) {
#if 0
int l = (start + line) % _linesInBuffer;
byte c = buffer(l * _lineWidth + column);
#else
byte c = buffer((start + line) * _lineWidth + column);
#endif
g_gui.drawChar(c, x, y, g_gui._textcolor);
x += kCharWidth;
}