mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
File fixes.
This commit is contained in:
parent
0ba0c6d057
commit
5ed80c753f
2 changed files with 3 additions and 5 deletions
|
|
@ -37,8 +37,7 @@ public readonly struct Utf8RelPath : IEquatable< Utf8RelPath >, IComparable< Utf
|
|||
return true;
|
||||
}
|
||||
|
||||
var substring = s!.Replace( '/', '\\' );
|
||||
substring.TrimStart( '\\' );
|
||||
var substring = s!.Replace( '/', '\\' ).TrimStart('\\');
|
||||
if( substring.Length > MaxRelPathLength )
|
||||
{
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue