diff options
Diffstat (limited to 'Userland/Games/Flood')
-rw-r--r-- | Userland/Games/Flood/SettingsDialog.cpp | 2 | ||||
-rw-r--r-- | Userland/Games/Flood/main.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Flood/SettingsDialog.cpp b/Userland/Games/Flood/SettingsDialog.cpp index 98335612ce..83f0132ec9 100644 --- a/Userland/Games/Flood/SettingsDialog.cpp +++ b/Userland/Games/Flood/SettingsDialog.cpp @@ -48,7 +48,7 @@ SettingsDialog::SettingsDialog(GUI::Window* parent, size_t board_rows, size_t bo static Vector<DeprecatedString> color_scheme_names; color_scheme_names.clear(); - Core::DirIterator iterator("/res/terminal-colors", Core::DirIterator::SkipParentAndBaseDir); + Core::DirIterator iterator("/res/color-schemes", Core::DirIterator::SkipParentAndBaseDir); while (iterator.has_next()) { auto path = iterator.next_path(); color_scheme_names.append(path.replace(".ini"sv, ""sv, ReplaceMode::FirstOnly)); diff --git a/Userland/Games/Flood/main.cpp b/Userland/Games/Flood/main.cpp index 69bca1deb6..98f76a3a06 100644 --- a/Userland/Games/Flood/main.cpp +++ b/Userland/Games/Flood/main.cpp @@ -42,7 +42,7 @@ static ErrorOr<Vector<Color>> get_color_scheme_from_string(StringView name) "White"sv }; - auto const path = DeprecatedString::formatted("/res/terminal-colors/{}.ini", name); + auto const path = DeprecatedString::formatted("/res/color-schemes/{}.ini", name); auto color_config_or_error = Core::ConfigFile::open(path); if (color_config_or_error.is_error()) { return Error::from_string_view(DeprecatedString::formatted("Unable to read color scheme file '{}': {}", path, color_config_or_error.error())); |