aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp
index cfdd385212..d352715273 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -30,7 +30,7 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char
strcpy(buf, directory);
-#ifndef WIN32
+#ifdef WIN32
// Fix for Win98 issue related with game directory pointing to root drive ex. "c:\"
if ((buf[0] != 0) && (buf[1] == ':') && (buf[2] == '\\') && (buf[3] == 0)) {
buf[2] = 0;