diff options
-rw-r--r-- | src/gui/npc_text.cpp | 2 | ||||
-rw-r--r-- | src/gui/npcintegerdialog.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/npc_text.cpp b/src/gui/npc_text.cpp index 19e46e6b..ea5dbd4c 100644 --- a/src/gui/npc_text.cpp +++ b/src/gui/npc_text.cpp @@ -91,7 +91,7 @@ void NpcTextDialog::action(const gcn::ActionEvent &event) if (event.getId() == "next") { current_npc->nextDialog(); - npcTextDialog->addText("\n> Next\n"); + addText("\n> Next\n"); } else if (event.getId() == "close") { diff --git a/src/gui/npcintegerdialog.cpp b/src/gui/npcintegerdialog.cpp index 88d02311..b05e77ba 100644 --- a/src/gui/npcintegerdialog.cpp +++ b/src/gui/npcintegerdialog.cpp @@ -80,7 +80,7 @@ void NpcIntegerDialog::action(const gcn::ActionEvent &event) if (event.getId() == "ok") { finish = 1; - npcTextDialog->addText(strprintf("\n> %d\n", value)); + npcTextDialog->addText(strprintf("\n> %d\n", mValueField->getValue())); } else if (event.getId() == "cancel") { |