aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactextwindow.h
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-07 11:57:43 +0200
committerEugene Sandulenko2017-08-07 12:18:20 +0200
commit6e690dbca9410f6dfbbcd3a008696d9ba288e40c (patch)
treeaeca63f94a57a1e76f17706c3776b4e2b4b99379 /graphics/macgui/mactextwindow.h
parent5249e5a8af6a0a1e1cc15d830f13e15a5e095969 (diff)
downloadscummvm-rg350-6e690dbca9410f6dfbbcd3a008696d9ba288e40c.tar.gz
scummvm-rg350-6e690dbca9410f6dfbbcd3a008696d9ba288e40c.tar.bz2
scummvm-rg350-6e690dbca9410f6dfbbcd3a008696d9ba288e40c.zip
GRAPHICS: MACGUI: Do not draw selection in the initial state
Diffstat (limited to 'graphics/macgui/mactextwindow.h')
-rw-r--r--graphics/macgui/mactextwindow.h8
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() {