mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 20:57:35 +00:00
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
Let's make it clear that these functions deal with ASCII case only.
This commit is contained in:
parent
03cc45e5a2
commit
a504ac3e2a
76 changed files with 480 additions and 476 deletions
|
@ -78,16 +78,16 @@ public:
|
|||
if (difficulty_string.matches("beginner"sv))
|
||||
return Difficulty::Beginner;
|
||||
|
||||
if (difficulty_string.equals_ignoring_case("intermediate"sv))
|
||||
if (difficulty_string.equals_ignoring_ascii_case("intermediate"sv))
|
||||
return Difficulty::Intermediate;
|
||||
|
||||
if (difficulty_string.equals_ignoring_case("expert"sv))
|
||||
if (difficulty_string.equals_ignoring_ascii_case("expert"sv))
|
||||
return Difficulty::Expert;
|
||||
|
||||
if (difficulty_string.equals_ignoring_case("madwoman"sv))
|
||||
if (difficulty_string.equals_ignoring_ascii_case("madwoman"sv))
|
||||
return Difficulty::Madwoman;
|
||||
|
||||
if (difficulty_string.equals_ignoring_case("custom"sv))
|
||||
if (difficulty_string.equals_ignoring_ascii_case("custom"sv))
|
||||
return Difficulty::Custom;
|
||||
|
||||
return {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue