summaryrefslogtreecommitdiff
path: root/Userland/Demos
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-03-10 08:48:54 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-10 13:15:44 +0100
commita504ac3e2a57654b96501b3a1ba80f37b3381dc8 (patch)
tree767a7e21a858e4b5c6dfec77dd52b540a0e4cf49 /Userland/Demos
parent03cc45e5a2ecc5d173aa121404d7ed8251c109f8 (diff)
downloadserenity-a504ac3e2a57654b96501b3a1ba80f37b3381dc8.zip
Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case
Let's make it clear that these functions deal with ASCII case only.
Diffstat (limited to 'Userland/Demos')
-rw-r--r--Userland/Demos/CatDog/CatDog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Demos/CatDog/CatDog.cpp b/Userland/Demos/CatDog/CatDog.cpp
index 70c9dd3cf5..8f8bc9a9d4 100644
--- a/Userland/Demos/CatDog/CatDog.cpp
+++ b/Userland/Demos/CatDog/CatDog.cpp
@@ -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;