Skip to content

Commit

Permalink
Update src/Files.App/Helpers/Win32/Win32Helper.Storage.cs
Browse files Browse the repository at this point in the history
Co-authored-by: 0x5BFA <[email protected]>
  • Loading branch information
d2dyno1 and 0x5bfa authored Dec 2, 2024
1 parent 9526a03 commit 2f69954
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.App/Helpers/Win32/Win32Helper.Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ public static unsafe bool CanCompressContent(string path)
{
path = Path.GetPathRoot(path) ?? string.Empty;

// MAX_PATH = 260 + 1 (null termination)
// MAX_PATH = 260 (includes null termination char)
var volumeName = new PWSTR();
var fileSystemName = new PWSTR();

Expand Down

0 comments on commit 2f69954

Please sign in to comment.