aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-07-18 00:01:46 +0200
committerEugene Sandulenko2017-07-18 00:01:46 +0200
commit49c72c884a724db67125480c9e2c7fc6a04f477c (patch)
treea9068b9ffb074a266e0a4036141d9cdd897cb63e /graphics
parent3a2ce122888cad6656f6b67aa4dc637a8e262d5e (diff)
downloadscummvm-rg350-49c72c884a724db67125480c9e2c7fc6a04f477c.tar.gz
scummvm-rg350-49c72c884a724db67125480c9e2c7fc6a04f477c.tar.bz2
scummvm-rg350-49c72c884a724db67125480c9e2c7fc6a04f477c.zip
MACGUI: Fix compilation
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactextwindow.h9
1 files 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;