summaryrefslogtreecommitdiff
path: root/src/gui/windows/textdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/textdialog.cpp')
-rw-r--r--src/gui/windows/textdialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/windows/textdialog.cpp b/src/gui/windows/textdialog.cpp
index 92cfa46d2..51bd46d82 100644
--- a/src/gui/windows/textdialog.cpp
+++ b/src/gui/windows/textdialog.cpp
@@ -36,8 +36,10 @@
int TextDialog::instances = 0;
-TextDialog::TextDialog(const std::string &title, const std::string &msg,
- Window *const parent, const bool isPassword):
+TextDialog::TextDialog(const std::string &restrict title,
+ const std::string &restrict msg,
+ Window *const parent,
+ const bool isPassword):
Window(title, true, parent, "textdialog.xml"),
gcn::ActionListener(),
mTextField(nullptr),