Skip to content

Commit 2f69954

Browse files
d2dyno10x5bfa
andauthored
Update src/Files.App/Helpers/Win32/Win32Helper.Storage.cs
Co-authored-by: 0x5BFA <[email protected]>
1 parent 9526a03 commit 2f69954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Files.App/Helpers/Win32/Win32Helper.Storage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ public static unsafe bool CanCompressContent(string path)
947947
{
948948
path = Path.GetPathRoot(path) ?? string.Empty;
949949

950-
// MAX_PATH = 260 + 1 (null termination)
950+
// MAX_PATH = 260 (includes null termination char)
951951
var volumeName = new PWSTR();
952952
var fileSystemName = new PWSTR();
953953

0 commit comments

Comments
 (0)