diff options
author | Johannes Schickel | 2007-02-09 00:02:49 +0000 |
---|---|---|
committer | Johannes Schickel | 2007-02-09 00:02:49 +0000 |
commit | 810056dcf6934291a9a448ba942dbb2bb3dbc504 (patch) | |
tree | 30058b6018575c60e9791d444268994b0d4210ec /gui/about.cpp | |
parent | f8052bb650719b8a716e686e6a08ae75b513a903 (diff) | |
download | scummvm-rg350-810056dcf6934291a9a448ba942dbb2bb3dbc504.tar.gz scummvm-rg350-810056dcf6934291a9a448ba942dbb2bb3dbc504.tar.bz2 scummvm-rg350-810056dcf6934291a9a448ba942dbb2bb3dbc504.zip |
Fix for bug #1650993 ("GUI: About dialog scroller").
svn-id: r25434
Diffstat (limited to 'gui/about.cpp')
-rw-r--r-- | gui/about.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gui/about.cpp b/gui/about.cpp index 4271ca272b..0e4d1d5a90 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -205,11 +205,6 @@ void AboutDialog::drawDialog() { // in the right way. Should be even faster... const int firstLine = _scrollPos / _lineHeight; const int lastLine = MIN((_scrollPos + _h) / _lineHeight + 1, (uint32)_lines.size()); - // FIXME: There's some confusion here about the meaning of 'yOff'. - // The setDrawArea call above makes it possible to render text - // vertically from _y to _y+_h, while the line below assumes text - // is drawn from _y+yOff down. This causes leftover pixels - // the top while scrolling. int y = _y + yOff - (_scrollPos % _lineHeight); for (int line = firstLine; line < lastLine; line++) { |