summaryrefslogtreecommitdiff
path: root/Userland/Games/FlappyBug/main.cpp
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2021-08-21 16:14:30 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-22 01:32:25 +0200
commit938051feb8d9340657251082f3fd4abffd57b813 (patch)
tree7d71e8c592b4915dcb4930fde8ba6739f60450f1 /Userland/Games/FlappyBug/main.cpp
parent54bbe52b5143954dcdb700207de43343e5102ab8 (diff)
downloadserenity-938051feb8d9340657251082f3fd4abffd57b813.zip
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
Diffstat (limited to 'Userland/Games/FlappyBug/main.cpp')
-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 a8209337c8..cfce33f1a7 100644
--- a/Userland/Games/FlappyBug/main.cpp
+++ b/Userland/Games/FlappyBug/main.cpp
@@ -22,7 +22,7 @@ int main(int argc, char** argv)
}
auto app = GUI::Application::construct(argc, argv);
- auto config = Core::ConfigFile::get_for_app("FlappyBug");
+ auto config = Core::ConfigFile::get_for_app("FlappyBug", Core::ConfigFile::AllowWriting::Yes);
if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) {
perror("pledge");