aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/kfile.cpp')
-rw-r--r--engines/sci/engine/kfile.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/sci/engine/kfile.cpp b/engines/sci/engine/kfile.cpp
index eb29100600..95ae715e1e 100644
--- a/engines/sci/engine/kfile.cpp
+++ b/engines/sci/engine/kfile.cpp
@@ -425,11 +425,7 @@ kDeviceInfo_Win32(state_t *s, int funct_nr, int argc, reg_t *argv) {
GetFullPathName(path1_s, sizeof(dir_buffer) - 1, dir_buffer, NULL);
GetFullPathName(path2_s, sizeof(dir_buffer2) - 1, dir_buffer2, NULL);
-#ifdef _MSC_VER
- return make_reg(0, !stricmp(path1_s, path2_s));
-#else
- return make_reg(0, !strcasecmp(path1_s, path2_s));
-#endif
+ return make_reg(0, !scumm_stricmp(path1_s, path2_s));
}
break;