summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/mame/ui/filesel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp
index 7225e786121..12bc6691d91 100644
--- a/src/frontend/mame/ui/filesel.cpp
+++ b/src/frontend/mame/ui/filesel.cpp
@@ -491,8 +491,8 @@ menu_file_selector::file_selector_entry *menu_file_selector::append_dirent_entry
void menu_file_selector::append_entry_menu_item(const file_selector_entry *entry)
{
- const char *text = nullptr;
- const char *subtext = nullptr;
+ std::string text;
+ std::string subtext;
switch(entry->type)
{