mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 23:18:44 +00:00
GRAPHICS: MACGUI: Correctly display last selection line
This commit is contained in:
parent
6e690dbca9
commit
abf6abdb65
@ -195,7 +195,7 @@ void MacTextWindow::drawSelection() {
|
||||
numLines = _mactext->getLineHeight(s.startRow);
|
||||
x1 = s.startX;
|
||||
}
|
||||
if (y + _scrollPos > lastLineStart) {
|
||||
if (y + _scrollPos >= lastLineStart) {
|
||||
numLines = _mactext->getLineHeight(s.endRow);
|
||||
x2 = s.endX;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user