diff options
Diffstat (limited to 'gui/object.h')
-rw-r--r-- | gui/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/object.h b/gui/object.h index cb553fa1a7..60e51e3b94 100644 --- a/gui/object.h +++ b/gui/object.h @@ -65,7 +65,7 @@ protected: public: GuiObject(int x, int y, int w, int h) : _x(x), _y(y), _w(w), _h(h), _firstWidget(0), _name("") { } - GuiObject(Common::String name); + GuiObject(const Common::String &name); virtual int16 getAbsX() const { return _x; } virtual int16 getAbsY() const { return _y; } |