summaryrefslogtreecommitdiff
path: root/lib/nes/app/ui/screen-title.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nes/app/ui/screen-title.cc')
-rw-r--r--lib/nes/app/ui/screen-title.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/nes/app/ui/screen-title.cc b/lib/nes/app/ui/screen-title.cc
index 32a6ea6..15cd601 100644
--- a/lib/nes/app/ui/screen-title.cc
+++ b/lib/nes/app/ui/screen-title.cc
@@ -61,13 +61,13 @@ namespace nes::app
{
switch (*selection_.get_selected())
{
- case item::load_game: return action::go_to_browser;
- case item::settings: return action::go_to_settings;
- case item::help: return action::go_to_help;
+ case item::load_game: return action::go_to_browser();
+ case item::settings: return action::go_to_settings();
+ case item::help: return action::go_to_help();
}
}
}
- return action::none;
+ return action{};
}
} // namespace nes::app \ No newline at end of file