summaryrefslogtreecommitdiff
path: root/Userland/Games/MasterWord/WordGame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Games/MasterWord/WordGame.cpp')
-rw-r--r--Userland/Games/MasterWord/WordGame.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/MasterWord/WordGame.cpp b/Userland/Games/MasterWord/WordGame.cpp
index a7665458a2..9a3d1ddfed 100644
--- a/Userland/Games/MasterWord/WordGame.cpp
+++ b/Userland/Games/MasterWord/WordGame.cpp
@@ -177,8 +177,8 @@ void WordGame::read_words()
m_words.clear();
auto try_load_words = [&]() -> ErrorOr<void> {
- auto response = TRY(Core::Stream::File::open("/res/words.txt"sv, Core::Stream::OpenMode::Read));
- auto words_file = TRY(Core::Stream::BufferedFile::create(move(response)));
+ auto response = TRY(Core::File::open("/res/words.txt"sv, Core::File::OpenMode::Read));
+ auto words_file = TRY(Core::BufferedFile::create(move(response)));
Array<u8, 128> buffer;
while (!words_file->is_eof()) {