summaryrefslogtreecommitdiff
path: root/Userland/Games/FlappyBug
diff options
context:
space:
mode:
authorVitaly Dyachkov <obyknovenius@me.com>2022-02-11 17:33:09 +0100
committerAndreas Kling <kling@serenityos.org>2022-02-11 18:06:39 +0100
commit32b8795091681de7296074fb9a7b4f63a17e475a (patch)
tree90c7af82261061473d234ca4e6dbfc6dafa85d28 /Userland/Games/FlappyBug
parent873f4d5de62aab78e8b05efbb3e566de0efa7de4 (diff)
downloadserenity-32b8795091681de7296074fb9a7b4f63a17e475a.zip
LibConfig: Rename pledge_domains(String) => pledge_domain(String)
pledge_domains() that takes only one String argument was specifically added as a shortcut for pledging a single domain. So, it makes sense to use singular here.
Diffstat (limited to 'Userland/Games/FlappyBug')
-rw-r--r--Userland/Games/FlappyBug/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/FlappyBug/main.cpp b/Userland/Games/FlappyBug/main.cpp
index 4bda06ce93..c58a1ec3e0 100644
--- a/Userland/Games/FlappyBug/main.cpp
+++ b/Userland/Games/FlappyBug/main.cpp
@@ -23,7 +23,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app = TRY(GUI::Application::try_create(arguments));
- Config::pledge_domains("FlappyBug");
+ Config::pledge_domain("FlappyBug");
TRY(Desktop::Launcher::add_allowed_handler_with_only_specific_urls("/bin/Help", { URL::create_with_file_protocol("/usr/share/man/man6/FlappyBug.md") }));
TRY(Desktop::Launcher::seal_allowlist());