diff options
author | Max Horn | 2004-05-05 23:08:30 +0000 |
---|---|---|
committer | Max Horn | 2004-05-05 23:08:30 +0000 |
commit | 83cd0002076f1c45eb2b6e8c1c484961eb7eadcb (patch) | |
tree | 8ee544b7997ba673755d3a29e2aa9901060f9b0f /gui | |
parent | 71df4c5e726deca772faef6993327bad360ddc29 (diff) | |
download | scummvm-rg350-83cd0002076f1c45eb2b6e8c1c484961eb7eadcb.tar.gz scummvm-rg350-83cd0002076f1c45eb2b6e8c1c484961eb7eadcb.tar.bz2 scummvm-rg350-83cd0002076f1c45eb2b6e8c1c484961eb7eadcb.zip |
Maybe this change will cure one of erik's two console bug reports (namely #941811). Maybe not
svn-id: r13794
Diffstat (limited to 'gui')
-rw-r--r-- | gui/console.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/console.cpp b/gui/console.cpp index 68899dd6d5..054ae81b71 100644 --- a/gui/console.cpp +++ b/gui/console.cpp @@ -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; } |