diff options
Diffstat (limited to 'src/gui/npcdialog.h')
-rw-r--r-- | src/gui/npcdialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/npcdialog.h b/src/gui/npcdialog.h index fc0325a4..36fda2b1 100644 --- a/src/gui/npcdialog.h +++ b/src/gui/npcdialog.h @@ -124,7 +124,7 @@ class NpcDialog : public Window, /** * Requests a text string from the user. */ - void textRequest(const std::string &defaultText = ""); + void textRequest(const std::string &defaultText = std::string()); bool isInputFocused() const; |