summaryrefslogtreecommitdiff
path: root/Userland/Games/Snake/main.cpp
diff options
context:
space:
mode:
authornetworkException <git@nwex.de>2021-08-21 16:33:54 +0200
committerAndreas Kling <kling@serenityos.org>2021-08-22 01:32:25 +0200
commitacde7d12b0d2870feba3ebaaaf2ef99ac6fb41b3 (patch)
tree9ea1d89f621446ea24b9ee34ca93c73acef225a0 /Userland/Games/Snake/main.cpp
parent938051feb8d9340657251082f3fd4abffd57b813 (diff)
downloadserenity-acde7d12b0d2870feba3ebaaaf2ef99ac6fb41b3.zip
Everywhere: Rename get in ConfigFile::get_for_{lib,app,system} to open
This patch brings the ConfigFile helpers for opening lib, app and system configs more inline with the regular ConfigFile::open functions.
Diffstat (limited to 'Userland/Games/Snake/main.cpp')
-rw-r--r--Userland/Games/Snake/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Snake/main.cpp b/Userland/Games/Snake/main.cpp
index 1ddae48033..e4294cb261 100644
--- a/Userland/Games/Snake/main.cpp
+++ b/Userland/Games/Snake/main.cpp
@@ -31,7 +31,7 @@ int main(int argc, char** argv)
return 1;
}
- auto config = Core::ConfigFile::get_for_app("Snake");
+ auto config = Core::ConfigFile::open_for_app("Snake");
if (unveil("/res", "r") < 0) {
perror("unveil");