diff options
Diffstat (limited to 'engines/sci/scicore')
-rw-r--r-- | engines/sci/scicore/tools.cpp | 2 | ||||
-rw-r--r-- | engines/sci/scicore/vocab.cpp | 2 | ||||
-rw-r--r-- | engines/sci/scicore/vocab_debug.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/scicore/tools.cpp b/engines/sci/scicore/tools.cpp index 667f062cd6..2179713720 100644 --- a/engines/sci/scicore/tools.cpp +++ b/engines/sci/scicore/tools.cpp @@ -608,7 +608,7 @@ _fcaseseek(const char *fname, sci_dir_t *dir) name = sci_find_first(dir, buf); while (name && !retval) { - if (!strcasecmp(fname, name)) + if (!scumm_stricmp(fname, name)) retval = name; else name = sci_find_next(dir); diff --git a/engines/sci/scicore/vocab.cpp b/engines/sci/scicore/vocab.cpp index 87ee3cb434..acea245991 100644 --- a/engines/sci/scicore/vocab.cpp +++ b/engines/sci/scicore/vocab.cpp @@ -62,7 +62,7 @@ const char *class_names[] = {"", /* These strange names were taken int _vocab_cmp_words(const void *word1, const void *word2) { - return strcasecmp((*((word_t **) word1))->word, (*((word_t **) word2))->word); + return scumm_stricmp((*((word_t **) word1))->word, (*((word_t **) word2))->word); } diff --git a/engines/sci/scicore/vocab_debug.cpp b/engines/sci/scicore/vocab_debug.cpp index 8e3b1afc8d..2051bf1f33 100644 --- a/engines/sci/scicore/vocab_debug.cpp +++ b/engines/sci/scicore/vocab_debug.cpp @@ -199,7 +199,7 @@ int vocabulary_lookup_sname(char **snames_list, char *sname) { int pos = 0; while (snames_list[pos]) { - if (!strcasecmp(sname, snames_list[pos])) return pos; + if (!scumm_stricmp(sname, snames_list[pos])) return pos; pos++; } |