diff options
author | implicitfield <114500360+implicitfield@users.noreply.github.com> | 2022-12-02 18:11:26 +0200 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-12-31 04:20:59 -0700 |
commit | 4aec8491d62b19647133825e05929c45afe0d3d3 (patch) | |
tree | 3a6c1e4aabc9fa8c42ca8e5d713090edc818de9c /Userland/Games | |
parent | 534f3faa2ffe3a656e4584176d8858a73dbe9c9d (diff) | |
download | serenity-4aec8491d62b19647133825e05929c45afe0d3d3.zip |
Everywhere: Move Base/res/terminal-colors to Base/res/color-schemes
Diffstat (limited to 'Userland/Games')
-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())); |