From 09af091384c09aa036b50d912596a95fb07c5c4c Mon Sep 17 00:00:00 2001 From: Eduardo Casino Date: Fri, 27 May 2022 22:42:46 +0200 Subject: Fix hash short names when host file system is case sensitive --- sfmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfmain.c') 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; } -- cgit v1.2.3