aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-03 23:38:08 +0200
committerEugene Sandulenko2017-08-04 21:54:20 +0200
commitb2848951007b0667a258aaaea7b4d84a06bdeb83 (patch)
tree61c48a75d0f29095e32b94ed964fc7fc32f7e18a
parent532af0bb602397790bc53ef652b0ce12a030d648 (diff)
downloadscummvm-rg350-b2848951007b0667a258aaaea7b4d84a06bdeb83.tar.gz
scummvm-rg350-b2848951007b0667a258aaaea7b4d84a06bdeb83.tar.bz2
scummvm-rg350-b2848951007b0667a258aaaea7b4d84a06bdeb83.zip
GRAPHICS: MACGUI: Leave text highlight after selection is made
-rw-r--r--graphics/macgui/mactextwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 6b46b05c8d..c55d24a317 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -143,7 +143,7 @@ bool MacTextWindow::draw(ManagedSurface *g, bool forceRedraw) {
if (_cursorState)
_composeSurface.blitFrom(*_cursorSurface, *_cursorRect, Common::Point(_cursorX + kConWOverlap, _cursorY + kConHOverlap));
- if (_inTextSelection)
+ if (_selectedText.endY != -1)
drawSelection();
_composeSurface.transBlitFrom(_borderSurface, kColorGreen);