aboutsummaryrefslogtreecommitdiff
path: root/gui/dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/dialog.cpp')
-rw-r--r--gui/dialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp
index d9c25d15bb..bfddcd81cb 100644
--- a/gui/dialog.cpp
+++ b/gui/dialog.cpp
@@ -243,7 +243,7 @@ Widget *Dialog::findWidget(int x, int y)
return w;
}
-void Dialog::addButton(int x, int y, int w, int h, const char *label, uint32 cmd, char hotkey)
+void Dialog::addButton(int x, int y, int w, int h, const ScummVM::String &label, uint32 cmd, char hotkey)
{
new ButtonWidget(this, x, y, w, h, label, cmd, hotkey);
}