summaryrefslogtreecommitdiff
path: root/Userland/Games/Chess/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/Chess/main.cpp')
-rw-r--r--Userland/Games/Chess/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Chess/main.cpp b/Userland/Games/Chess/main.cpp
index 928d7990f3..4747a14996 100644
--- a/Userland/Games/Chess/main.cpp
+++ b/Userland/Games/Chess/main.cpp
@@ -38,7 +38,7 @@ int main(int argc, char** argv)
return 1;
}
- if (unveil(config->file_name().characters(), "crw") < 0) {
+ if (unveil(config->filename().characters(), "crw") < 0) {
perror("unveil");
return 1;
}