aboutsummaryrefslogtreecommitdiff
path: root/sfmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sfmain.c')
-rw-r--r--sfmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfmain.c b/sfmain.c
index 68029c1..a1a9518 100644
--- a/sfmain.c
+++ b/sfmain.c
@@ -167,7 +167,7 @@ static int mount_shfl(LPTSRDATA data, int drive, const char *folder)
}
// This is not a bug! VirtualBox sets SHFL_MIF_HOST_ICASE if host file system is case sensitive
- data->drives[drive].case_insensitive = ~(flags & SHFL_MIF_HOST_ICASE);
+ data->drives[drive].case_insensitive = !(flags & SHFL_MIF_HOST_ICASE);
return 0;
}