mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:37: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
|
@ -75,13 +75,13 @@ CatDog::State CatDog::special_application_states() const
|
|||
|
||||
auto proc_info = maybe_proc_info.release_value();
|
||||
auto maybe_paint_program = proc_info.processes.first_matching([](auto& process) {
|
||||
return process.name.equals_ignoring_case("pixelpaint"sv) || process.name.equals_ignoring_case("fonteditor"sv);
|
||||
return process.name.equals_ignoring_ascii_case("pixelpaint"sv) || process.name.equals_ignoring_ascii_case("fonteditor"sv);
|
||||
});
|
||||
if (maybe_paint_program.has_value())
|
||||
return State::Artist;
|
||||
|
||||
auto maybe_inspector_program = proc_info.processes.first_matching([](auto& process) {
|
||||
return process.name.equals_ignoring_case("inspector"sv) || process.name.equals_ignoring_case("systemmonitor"sv) || process.name.equals_ignoring_case("profiler"sv);
|
||||
return process.name.equals_ignoring_ascii_case("inspector"sv) || process.name.equals_ignoring_ascii_case("systemmonitor"sv) || process.name.equals_ignoring_ascii_case("profiler"sv);
|
||||
});
|
||||
if (maybe_inspector_program.has_value())
|
||||
return State::Inspector;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue