diff options
| author | Max Horn | 2012-02-20 16:03:39 +0100 |
|---|---|---|
| committer | Max Horn | 2012-02-20 16:18:27 +0100 |
| commit | 4f8665fc836898ebf54fc73b1061125b748183bc (patch) | |
| tree | ae393cd0822fab01bdcc38bd003ab186955eb270 /engines/sky | |
| parent | 658080deeda79d20ea40643569fbcb072573e7cf (diff) | |
| download | scummvm-rg350-4f8665fc836898ebf54fc73b1061125b748183bc.tar.gz scummvm-rg350-4f8665fc836898ebf54fc73b1061125b748183bc.tar.bz2 scummvm-rg350-4f8665fc836898ebf54fc73b1061125b748183bc.zip | |
COMMON: Move isFoo functions to namespace Common, add doxygen comments
Diffstat (limited to 'engines/sky')
| -rw-r--r-- | engines/sky/control.cpp | 2 | ||||
| -rw-r--r-- | engines/sky/detection.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp index 6363789d3a..036659a677 100644 --- a/engines/sky/control.cpp +++ b/engines/sky/control.cpp @@ -974,7 +974,7 @@ void Control::handleKeyPress(Common::KeyState kbd, Common::String &textBuf) { // Allow the key only if is a letter, a digit, or one of a selected // list of extra characters - if (isAlnum(kbd.ascii) || strchr(" ,().='-&+!?\"", kbd.ascii) != 0) { + if (Common::isAlnum(kbd.ascii) || strchr(" ,().='-&+!?\"", kbd.ascii) != 0) { textBuf += kbd.ascii; } } diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index 51f7330f09..2b702e99ea 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -206,7 +206,7 @@ SaveStateList SkyMetaEngine::listSaves(const char *target) const { // Extract the extension Common::String ext = file->c_str() + file->size() - 3; ext.toUppercase(); - if (isDigit(ext[0]) && isDigit(ext[1]) && isDigit(ext[2])) { + if (Common::isDigit(ext[0]) && Common::isDigit(ext[1]) && Common::isDigit(ext[2])) { int slotNum = atoi(ext.c_str()); Common::InSaveFile *in = saveFileMan->openForLoading(*file); if (in) { |
