summaryrefslogtreecommitdiff
path: root/src/gui/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-10 15:48:22 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-10 15:48:22 +0300
commit13670eefeb4b256c20b603a845eb89f5221a32e5 (patch)
tree7a49048dd2693284789a23dd2a97aaa593b0ae5c /src/gui/npcdialog.cpp
parent99c02724d193dbd6219c4ce036c43795d6562047 (diff)
downloadmv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.gz
mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.bz2
mv-13670eefeb4b256c20b603a845eb89f5221a32e5.tar.xz
mv-13670eefeb4b256c20b603a845eb89f5221a32e5.zip
Change empty strings initializations.
Diffstat (limited to 'src/gui/npcdialog.cpp')
-rw-r--r--src/gui/npcdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npcdialog.cpp b/src/gui/npcdialog.cpp
index d941153b7..3956b47ac 100644
--- a/src/gui/npcdialog.cpp
+++ b/src/gui/npcdialog.cpp
@@ -228,8 +228,8 @@ void NpcDialog::action(const gcn::ActionEvent &event)
}
else if (mActionState == NPC_ACTION_INPUT)
{
- std::string printText = ""; // Text that will get printed
- // in the textbox
+ std::string printText(""); // Text that will get printed
+ // in the textbox
if (mInputState == NPC_INPUT_LIST)
{