diff options
Diffstat (limited to 'engines/kyra/gui.cpp')
-rw-r--r-- | engines/kyra/gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/gui.cpp b/engines/kyra/gui.cpp index 9e08ae0fb9..1156b17957 100644 --- a/engines/kyra/gui.cpp +++ b/engines/kyra/gui.cpp @@ -56,7 +56,7 @@ void GUI::updateSaveFileList(Common::String targetName, bool excludeQuickSaves) s1 = (*i)[i->size() - 3]; s2 = (*i)[i->size() - 2]; s3 = (*i)[i->size() - 1]; - if (!isdigit(static_cast<unsigned char>(s1)) || !isdigit(static_cast<unsigned char>(s2)) || !isdigit(static_cast<unsigned char>(s3))) + if (!Common::isDigit(s1) || !Common::isDigit(s2) || !Common::isDigit(s3)) continue; s1 -= '0'; s2 -= '0'; |