summaryrefslogtreecommitdiff
path: root/src/gui/setup_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/setup_input.cpp')
-rw-r--r--src/gui/setup_input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/setup_input.cpp b/src/gui/setup_input.cpp
index 6be11a6ba..3f644085e 100644
--- a/src/gui/setup_input.cpp
+++ b/src/gui/setup_input.cpp
@@ -318,7 +318,7 @@ void Setup_Input::refreshAssignedKey(const int index)
else
{
std::string str = gettext(key.name.c_str());
- int sz = 20;
+ unsigned int sz = 20;
if (mainGraphics->mWidth > 800)
sz = 30;
while (str.size() < sz)