summaryrefslogtreecommitdiff
path: root/src/gui/skilldialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/skilldialog.cpp')
-rw-r--r--src/gui/skilldialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/skilldialog.cpp b/src/gui/skilldialog.cpp
index db463f9e6..c89bf5697 100644
--- a/src/gui/skilldialog.cpp
+++ b/src/gui/skilldialog.cpp
@@ -511,12 +511,12 @@ void SkillDialog::loadSkills()
data->setIcon(icon);
if (skill->id < SKILL_VAR_MIN_ID)
{
- data->dispName = strprintf("%s, %d",
+ data->dispName = strprintf("%s, %u",
name.c_str(), skill->id);
}
else
{
- data->dispName = strprintf("%s, (%d)",
+ data->dispName = strprintf("%s, (%u)",
name.c_str(), skill->id - SKILL_VAR_MIN_ID);
}
data->shortName = XML::langProperty(node,