diff options
author | Travis Howell | 2009-02-16 09:17:49 +0000 |
---|---|---|
committer | Travis Howell | 2009-02-16 09:17:49 +0000 |
commit | 2d0a897d16d25f10035e97a79ceab4d6036e5c60 (patch) | |
tree | 03ab24646b7a1c0fa38494305216dc71e3a81c21 /engines/sci/scicore | |
parent | 7a3c7c1e9a85cb83c3149503adb1e8247986bc7d (diff) | |
download | scummvm-rg350-2d0a897d16d25f10035e97a79ceab4d6036e5c60.tar.gz scummvm-rg350-2d0a897d16d25f10035e97a79ceab4d6036e5c60.tar.bz2 scummvm-rg350-2d0a897d16d25f10035e97a79ceab4d6036e5c60.zip |
Replace strcasecmp with scumm_stricmp.
svn-id: r38356
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++; } |