diff options
author | Eugene Sandulenko | 2017-08-07 11:57:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-07 12:18:20 +0200 |
commit | 6e690dbca9410f6dfbbcd3a008696d9ba288e40c (patch) | |
tree | aeca63f94a57a1e76f17706c3776b4e2b4b99379 | |
parent | 5249e5a8af6a0a1e1cc15d830f13e15a5e095969 (diff) | |
download | scummvm-rg350-6e690dbca9410f6dfbbcd3a008696d9ba288e40c.tar.gz scummvm-rg350-6e690dbca9410f6dfbbcd3a008696d9ba288e40c.tar.bz2 scummvm-rg350-6e690dbca9410f6dfbbcd3a008696d9ba288e40c.zip |
GRAPHICS: MACGUI: Do not draw selection in the initial state
-rw-r--r-- | graphics/macgui/mactextwindow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h index dfc7072322..50f908a05a 100644 --- a/graphics/macgui/mactextwindow.h +++ b/graphics/macgui/mactextwindow.h @@ -35,10 +35,10 @@ struct SelectedText { int endRow, endCol; SelectedText() { - startX = startY = 0; - endX = endY = 0; - startRow = startCol = 0; - endRow = endCol = 0; + startX = startY = -1; + endX = endY = -1; + startRow = startCol = -1; + endRow = endCol = -1; } bool needsRender() { |