diff options
Diffstat (limited to 'engines/sci/scicore/vocab.cpp')
-rw-r--r-- | engines/sci/scicore/vocab.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/scicore/vocab.cpp b/engines/sci/scicore/vocab.cpp index acea245991..e54b6ff055 100644 --- a/engines/sci/scicore/vocab.cpp +++ b/engines/sci/scicore/vocab.cpp @@ -341,7 +341,7 @@ vocab_lookup_word(char *word, int word_len, int suff_index = word_len - suffices[i]->alt_suffix_length; /* Offset of the start of the suffix */ - if (strncasecmp(suffices[i]->alt_suffix, word + suff_index, + if (scumm_strnicmp(suffices[i]->alt_suffix, word + suff_index, suffices[i]->alt_suffix_length) == 0) { /* Suffix matched! */ strncpy(&(tempword->word[0]), word, word_len); |