aboutsummaryrefslogtreecommitdiff
path: root/engines/touche/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/touche/menu.cpp')
-rw-r--r--engines/touche/menu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/touche/menu.cpp b/engines/touche/menu.cpp
index f469a95803..c58e2f1a33 100644
--- a/engines/touche/menu.cpp
+++ b/engines/touche/menu.cpp
@@ -103,7 +103,7 @@ struct MenuData {
void addCharToDescription(int slot, char chr) {
char *description = saveLoadDescriptionsTable[slot];
int descriptionLen = strlen(description);
- if (descriptionLen < 32 && isprint(chr)) {
+ if (descriptionLen < 32 && isprint(static_cast<unsigned char>(chr))) {
description[descriptionLen] = chr;
description[descriptionLen + 1] = 0;
}