diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/setup_touch.cpp | 8 | ||||
-rw-r--r-- | src/gui/skilldialog.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/setup_touch.cpp b/src/gui/setup_touch.cpp index 037e2bb20..8fa3c5a7f 100644 --- a/src/gui/setup_touch.cpp +++ b/src/gui/setup_touch.cpp @@ -89,19 +89,19 @@ Setup_Touch::Setup_Touch(const Widget2 *const widget) : new SetupItemDropDown(_("Buttons size"), "", "screenButtonsSize", this, "screenButtonsSizeEvent", mSizeList, 100); - new SetupActionDropDown(strprintf(_("Button %u action"), 1), "", + new SetupActionDropDown(strprintf(_("Button %u action"), 1u), "", "screenActionButton0", this, "screenActionButton0Event", mActionsList, 250); - new SetupActionDropDown(strprintf(_("Button %u action"), 2), "", + new SetupActionDropDown(strprintf(_("Button %u action"), 2u), "", "screenActionButton1", this, "screenActionButton1Event", mActionsList, 250); - new SetupActionDropDown(strprintf(_("Button %u action"), 3), "", + new SetupActionDropDown(strprintf(_("Button %u action"), 3u), "", "screenActionButton2", this, "screenActionButton2Event", mActionsList, 250); - new SetupActionDropDown(strprintf(_("Button %u action"), 4), "", + new SetupActionDropDown(strprintf(_("Button %u action"), 4u), "", "screenActionButton3", this, "screenActionButton3Event", mActionsList, 250); 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, |