summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-23 21:10:27 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-23 21:10:27 +0300
commitec5a45824c26921c12a1a90dfe541c2e59421e7b (patch)
tree7443abd5e6710bb5abdf4ef2f78af04d9fdb920b /src/gui
parent06ffa695ca77de549520fa03c500c7d88f21c0c4 (diff)
downloadmv-ec5a45824c26921c12a1a90dfe541c2e59421e7b.tar.gz
mv-ec5a45824c26921c12a1a90dfe541c2e59421e7b.tar.bz2
mv-ec5a45824c26921c12a1a90dfe541c2e59421e7b.tar.xz
mv-ec5a45824c26921c12a1a90dfe541c2e59421e7b.zip
eathena: if skill fail, show errorText from skill.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/windows/skilldialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/skilldialog.cpp b/src/gui/windows/skilldialog.cpp
index 1fb07e37d..0fa3e6bbb 100644
--- a/src/gui/windows/skilldialog.cpp
+++ b/src/gui/windows/skilldialog.cpp
@@ -448,7 +448,7 @@ void SkillDialog::addSkill(const SkillOwner::Type owner,
skill->sp = sp;
skill->update();
skill->useButton = _("Use");
- skill->errorText = name;
+ skill->errorText = strprintf(_("Failed skill: %s"), name.c_str());
mDefaultModel->addSkill(skill);
mSkills[id] = skill;