summaryrefslogtreecommitdiff
path: root/src/gui/skill.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skill.cpp')
-rw-r--r--src/gui/skill.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/gui/skill.cpp b/src/gui/skill.cpp
index a7b598eb..8e61dea4 100644
--- a/src/gui/skill.cpp
+++ b/src/gui/skill.cpp
@@ -23,18 +23,16 @@
#include <guichan/widgets/label.hpp>
-#include "skill.h"
-
#include "button.h"
#include "listbox.h"
-#include "scrollarea.h"
+#include "skill.h"
#include "windowcontainer.h"
#include "../localplayer.h"
+#include "../log.h"
#include "../utils/dtor.h"
#include "../utils/xml.h"
-#include "../log.h"
#define SKILLS_FILE "skills.xml"
@@ -79,7 +77,7 @@ public:
virtual void
update(void)
{
- static const SkillInfo fakeSkillInfo = { "Mystery Skill", false };
+ static const SkillInfo fakeSkillInfo = { "???", false };
mEntriesNr = mDialog->getSkills().size();
resize();
@@ -130,7 +128,7 @@ SkillDialog::SkillDialog():
setDefaultSize(windowContainer->getWidth() - 255, 25, 240, 240);
// mSkillListBox = new ListBox(this);
- ScrollArea *skillScrollArea = new ScrollArea(&mTable);
+ skillScrollArea = new ScrollArea(&mTable);
mPointsLabel = new gcn::Label("Skill Points:");
mIncButton = new Button("Up", "inc", this);
mUseButton = new Button("Use", "use", this);