Fix a typo in GetPathLengthMax

This commit is contained in:
Alex Barney 2023-10-15 23:51:07 -07:00
parent 279f86d910
commit c03e4d3f71

View file

@ -133,7 +133,7 @@ public static class UserFileSystemPrivate
int retValue = 0; int retValue = 0;
bool hasRetValue = false; bool hasRetValue = false;
SetOrChangeMin(ref retValue, ref hasRetValue, attribute.DirectoryPathLengthMax, attribute.DirectoryPathLengthMaxHasValue); SetOrChangeMin(ref retValue, ref hasRetValue, attribute.DirectoryPathLengthMax, attribute.DirectoryPathLengthMaxHasValue);
SetOrChangeMin(ref retValue, ref hasRetValue, attribute.FilePathLengthMax, attribute.FileNameLengthMaxHasValue); SetOrChangeMin(ref retValue, ref hasRetValue, attribute.FilePathLengthMax, attribute.FilePathLengthMaxHasValue);
SetOrChangeMin(ref retValue, ref hasRetValue, FspPath.MaxLength, true); SetOrChangeMin(ref retValue, ref hasRetValue, FspPath.MaxLength, true);
Assert.SdkAssert(hasRetValue); Assert.SdkAssert(hasRetValue);