mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-24 18:02:20 +00:00
Everywhere: Fix more typos
This commit is contained in:
parent
4e86c34ef0
commit
bcfc6f0c57
Notes:
sideshowbarker
2024-07-19 02:05:28 +09:00
Author: https://github.com/linusg
Commit: bcfc6f0c57
Pull-request: https://github.com/SerenityOS/serenity/pull/3668
Reviewed-by: https://github.com/bugaevc
Reviewed-by: https://github.com/xTibor
57 changed files with 108 additions and 108 deletions
|
@ -302,7 +302,7 @@ bool String::equals_ignoring_case(const StringView& other) const
|
|||
return StringUtils::equals_ignoring_case(view(), other);
|
||||
}
|
||||
|
||||
int String::replace(const String& needle, const String& replacement, bool all_occurences)
|
||||
int String::replace(const String& needle, const String& replacement, bool all_occurrences)
|
||||
{
|
||||
if (is_empty())
|
||||
return 0;
|
||||
|
@ -316,7 +316,7 @@ int String::replace(const String& needle, const String& replacement, bool all_oc
|
|||
|
||||
pos = ptr - characters();
|
||||
positions.append(pos);
|
||||
if (!all_occurences)
|
||||
if (!all_occurrences)
|
||||
break;
|
||||
|
||||
start = pos + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue