1
0
Fork 0
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:
Jean-Sébastien Nadeau 2020-05-05 12:07:58 -04:00 committed by GitHub
parent e9a1d6990e
commit c145a98561
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)
{ {