mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Style matching
This commit is contained in:
parent
70e751e718
commit
293387e41f
1 changed files with 3 additions and 1 deletions
|
@ -1711,7 +1711,9 @@ namespace System
|
|||
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue