diff options
author | Travis Howell | 2009-02-16 09:29:07 +0000 |
---|---|---|
committer | Travis Howell | 2009-02-16 09:29:07 +0000 |
commit | 42cb3a55d9e556f63c5bccabeff21b8f5ec18c44 (patch) | |
tree | 15bca4ac2d9246d50728d51bcedbfe6818aa61ab | |
parent | 0e3692dbc788b12c4c521432733970e4c48e4d4a (diff) | |
download | scummvm-rg350-42cb3a55d9e556f63c5bccabeff21b8f5ec18c44.tar.gz scummvm-rg350-42cb3a55d9e556f63c5bccabeff21b8f5ec18c44.tar.bz2 scummvm-rg350-42cb3a55d9e556f63c5bccabeff21b8f5ec18c44.zip |
Replace strcasecmp with scumm_stricmp.
svn-id: r38359
-rw-r--r-- | engines/sci/include/sci_memory.h | 4 | ||||
-rw-r--r-- | engines/sci/sfx/seq/sequencers.cpp | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/engines/sci/include/sci_memory.h b/engines/sci/include/sci_memory.h index 2be1c8e1e5..01ef88780c 100644 --- a/engines/sci/include/sci_memory.h +++ b/engines/sci/include/sci_memory.h @@ -81,10 +81,6 @@ #endif #ifdef _MSC_VER -# undef strcasecmp -# undef strncasecmp -# define strcasecmp _stricmp -# define strncasecmp _strnicmp # include <direct.h> // for chdir, rmdir, _gecwd, getcwd, mkdir #endif diff --git a/engines/sci/sfx/seq/sequencers.cpp b/engines/sci/sfx/seq/sequencers.cpp index 60752f624b..38395c9f8f 100644 --- a/engines/sci/sfx/seq/sequencers.cpp +++ b/engines/sci/sfx/seq/sequencers.cpp @@ -59,7 +59,7 @@ sfx_find_sequencer(char *name) { } else { int n = 0; while (sfx_sequencers[n] - && strcasecmp(sfx_sequencers[n]->name, name)) + && scumm_stricmp(sfx_sequencers[n]->name, name)) ++n; return sfx_sequencers[n]; |