summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-02-16 15:00:53 +0000
committerJared Adams <jaxad0127@gmail.com>2009-02-16 15:00:53 +0000
commitf93c40463d018b4a2c2909bf5de14a81ce91ac64 (patch)
tree0a9fb215ffc5441d34127dd4fed5e2961ab7904b /src
parent9dfc4ea2f30f43fb5ffd239b90b2a7259fbe0330 (diff)
downloadmana-client-f93c40463d018b4a2c2909bf5de14a81ce91ac64.tar.gz
mana-client-f93c40463d018b4a2c2909bf5de14a81ce91ac64.tar.bz2
mana-client-f93c40463d018b4a2c2909bf5de14a81ce91ac64.tar.xz
mana-client-f93c40463d018b4a2c2909bf5de14a81ce91ac64.zip
Fix some compilation issues
Diffstat (limited to 'src')
-rw-r--r--src/gui/npc_text.cpp2
-rw-r--r--src/gui/npcintegerdialog.cpp2
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")
{