1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-12 05:14:10 +02:00

Style matching

This commit is contained in:
Brian Fiete 2020-01-22 12:37:59 -08:00
parent 70e751e718
commit 293387e41f

View file

@ -1711,7 +1711,9 @@ namespace System
public bool StartsWith(char8 c) public bool StartsWith(char8 c)
{ {
return mLength != 0 && Ptr[0] == c; if (mLength == 0)
return false;
return Ptr[0] == c;
} }
public bool EndsWith(char8 c) public bool EndsWith(char8 c)