aboutsummaryrefslogtreecommitdiff
path: root/gui/widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/widget.cpp')
-rw-r--r--gui/widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/widget.cpp b/gui/widget.cpp
index 8dc40e8740..b2967f85d2 100644
--- a/gui/widget.cpp
+++ b/gui/widget.cpp
@@ -76,8 +76,8 @@ void Widget::draw()
#pragma mark -
-StaticTextWidget::StaticTextWidget(Dialog *boss, int x, int y, int w, int h, const char *text)
- : Widget (boss, x, y, w, h), _label(0), _centred(false)
+StaticTextWidget::StaticTextWidget(Dialog *boss, int x, int y, int w, int h, const char *text, bool centred)
+ : Widget (boss, x, y, w, h), _label(0), _centred(centred)
{
_type = kStaticTextWidget;
setLabel(text);