diff options
Diffstat (limited to 'gui/object.cpp')
-rw-r--r-- | gui/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/object.cpp b/gui/object.cpp index aaa5a1a4b3..537c127033 100644 --- a/gui/object.cpp +++ b/gui/object.cpp @@ -30,8 +30,8 @@ namespace GUI { -GuiObject::GuiObject(const Common::String &name) : _firstWidget(0) { - _name = name; +GuiObject::GuiObject(const Common::String &name) + : _x(-1000), _y(-1000), _w(0), _h(0), _name(name), _firstWidget(0) { reflowLayout(); } |