aboutsummaryrefslogtreecommitdiff
path: root/sfmain.c
diff options
context:
space:
mode:
authorEduardo Casino <mail@eduardocasino.es>2022-05-27 22:42:46 +0200
committerJavier <dev.git@javispedro.com>2022-06-12 17:13:03 +0200
commit09af091384c09aa036b50d912596a95fb07c5c4c (patch)
tree1fb4c69d92a998648b594fccaa85794614212dab /sfmain.c
parent4f5b72cf50855f4c75c8cc8a5ed34f53a11bfa7d (diff)
downloadvbados-09af091384c09aa036b50d912596a95fb07c5c4c.tar.gz
vbados-09af091384c09aa036b50d912596a95fb07c5c4c.zip
Fix hash short names when host file system is case sensitive
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;
}