From 49c72c884a724db67125480c9e2c7fc6a04f477c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Tue, 18 Jul 2017 00:01:46 +0200 Subject: MACGUI: Fix compilation --- graphics/macgui/mactextwindow.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/graphics/macgui/mactextwindow.h b/graphics/macgui/mactextwindow.h index f302f3724d..11b845f840 100644 --- a/graphics/macgui/mactextwindow.h +++ b/graphics/macgui/mactextwindow.h @@ -29,8 +29,13 @@ namespace Graphics { struct SelectedText { - int startX = 0, startY = 0; - int endX = 0, endY = 0; + int startX, startY; + int endX, endY; + + SelectedText() { + startX = startY = 0; + endX = endY = 0; + } bool needsRender() { return startX != endX || startY != endY; -- cgit v1.2.3