aboutsummaryrefslogtreecommitdiff
path: root/common/file.cpp
diff options
context:
space:
mode:
authorBertrand Augereau2003-06-15 18:56:41 +0000
committerBertrand Augereau2003-06-15 18:56:41 +0000
commitdd5bd03dc99cf9cd540f7c6b107eb3469fb12c7e (patch)
treedbce068d07e1cbed997149936607c71ae46fb65e /common/file.cpp
parente175f75e7da0ee3195cc1d6b4567ff1d09be26ef (diff)
downloadscummvm-rg350-dd5bd03dc99cf9cd540f7c6b107eb3469fb12c7e.tar.gz
scummvm-rg350-dd5bd03dc99cf9cd540f7c6b107eb3469fb12c7e.tar.bz2
scummvm-rg350-dd5bd03dc99cf9cd540f7c6b107eb3469fb12c7e.zip
Parentheses didn't compile on WIN32
svn-id: r8512
Diffstat (limited to 'common/file.cpp')
-rw-r--r--common/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp
index f73a5e37be..798028d308 100644
--- a/common/file.cpp
+++ b/common/file.cpp
@@ -32,7 +32,7 @@ FILE *File::fopenNoCase(const char *filename, const char *directory, const char
#ifdef _MSC_VER // FIXME: is there a better check to detect Windows ?!
// 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)) {
+ if ((buf[0] != 0) && (buf[1] == ':') && (buf[2] == '\\') && (buf[3] == 0)) {
buf[2] = 0;
}
#endif