summaryrefslogtreecommitdiff
path: root/src/gui/npcstringdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/npcstringdialog.cpp')
-rw-r--r--src/gui/npcstringdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npcstringdialog.cpp b/src/gui/npcstringdialog.cpp
index 8d66d9bc..ef2de73a 100644
--- a/src/gui/npcstringdialog.cpp
+++ b/src/gui/npcstringdialog.cpp
@@ -24,12 +24,12 @@
#include "npcstringdialog.h"
#include "textfield.h"
+#include "widgets/layout.h"
+
#include "../npc.h"
#include "../utils/gettext.h"
-#include "widgets/layout.h"
-
NpcStringDialog::NpcStringDialog():
Window(_("NPC Text Request"))
{
@@ -65,7 +65,7 @@ void NpcStringDialog::action(const gcn::ActionEvent &event)
setVisible(false);
current_npc->stringInput(mValueField->getText());
- current_npc = 0;
+ current_npc = NULL;
mValueField->setText("");
}