From f93c40463d018b4a2c2909bf5de14a81ce91ac64 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Mon, 16 Feb 2009 15:00:53 +0000 Subject: Fix some compilation issues --- src/gui/npcintegerdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/npcintegerdialog.cpp') 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") { -- cgit v1.2.3-70-g09d2