summaryrefslogtreecommitdiff
path: root/src/gui/npclistdialog.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 21:55:32 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-02-15 21:55:32 +0100
commit08c9cde4726f94698ea938d464cd1de95b7be587 (patch)
treef75128313418756395683398342cf808387ed390 /src/gui/npclistdialog.cpp
parenta6623430aa11b02f93761d27c25db9bb4157ec6f (diff)
downloadmana-08c9cde4726f94698ea938d464cd1de95b7be587.tar.gz
mana-08c9cde4726f94698ea938d464cd1de95b7be587.tar.bz2
mana-08c9cde4726f94698ea938d464cd1de95b7be587.tar.xz
mana-08c9cde4726f94698ea938d464cd1de95b7be587.zip
Fixes some variable names to conform to naming convention
Please do remember that member variables are prefixes with 'm', so that they are easily distinguishable.
Diffstat (limited to 'src/gui/npclistdialog.cpp')
-rw-r--r--src/gui/npclistdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/npclistdialog.cpp b/src/gui/npclistdialog.cpp
index 7d8a362a..fe924da1 100644
--- a/src/gui/npclistdialog.cpp
+++ b/src/gui/npclistdialog.cpp
@@ -44,9 +44,9 @@ NpcListDialog::NpcListDialog():
mItemList = new ListBox(this);
mItemList->setWrappingEnabled(true);
- scrollArea = new ScrollArea(mItemList);
- okButton = new Button(_("OK"), "ok", this);
- cancelButton = new Button(_("Cancel"), "cancel", this);
+ gcn::ScrollArea *scrollArea = new ScrollArea(mItemList);
+ gcn::Button *okButton = new Button(_("OK"), "ok", this);
+ gcn::Button *cancelButton = new Button(_("Cancel"), "cancel", this);
setContentSize(260, 175);
scrollArea->setHorizontalScrollPolicy(gcn::ScrollArea::SHOW_NEVER);