diff options
author | Eugene Sandulenko | 2017-08-04 07:50:15 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-04 21:54:20 +0200 |
commit | c7f83cd43565cf1166c40a0d4cc4d9ddb4f6d866 (patch) | |
tree | 24b7e582ca76d820f4b7c4870e0dae0bb8627821 /graphics/macgui | |
parent | 410efd9ff5a16821691efa29c438aeea4be8d497 (diff) | |
download | scummvm-rg350-c7f83cd43565cf1166c40a0d4cc4d9ddb4f6d866.tar.gz scummvm-rg350-c7f83cd43565cf1166c40a0d4cc4d9ddb4f6d866.tar.bz2 scummvm-rg350-c7f83cd43565cf1166c40a0d4cc4d9ddb4f6d866.zip |
GRAPHICS: MACGUI: Fix end line text selection hihglight
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/mactext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 4647f9c300..d3a612c22c 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -455,7 +455,7 @@ void MacText::getRowCol(int x, int y, int *sx, int *sy, int *row, int *col) { (*row)--; if (y > _textMaxHeight) - x = getLineWidth(*row); + x = _surface->w; *sy = _textLines[*row].y; |