From 6e690dbca9410f6dfbbcd3a008696d9ba288e40c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 7 Aug 2017 11:57:43 +0200 Subject: GRAPHICS: MACGUI: Do not draw selection in the initial state --- graphics/macgui/mactextwindow.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'graphics') 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() { -- cgit v1.2.3