mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Update String.bf
This commit is contained in:
parent
e9a1d6990e
commit
c145a98561
1 changed files with 1 additions and 1 deletions
|
@ -1937,7 +1937,7 @@ namespace System
|
||||||
{
|
{
|
||||||
// Optimized version for single-character replacements
|
// Optimized version for single-character replacements
|
||||||
char8 findC = find[0];
|
char8 findC = find[0];
|
||||||
while (inIdx < mLength - find.mLength)
|
while (inIdx < mLength)
|
||||||
{
|
{
|
||||||
if (ptr[inIdx] == findC)
|
if (ptr[inIdx] == findC)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue