summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filesel.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-06-29 22:26:24 -0400
committer Nathan Woods <npwoods@mess.org>2016-06-29 22:26:24 -0400
commitf43f12deb024af6cd195379fd332ea130e2c25bf (patch)
tree7dc86cc88b16431c4a3352dc07acff8eaabcfc39 /src/frontend/mame/ui/filesel.cpp
parentf0d35cd91a8f1a030ba970cff2d67cb7b0deaeb1 (diff)
Missed this place where I was passing nullptr to std::string ctor
Diffstat (limited to 'src/frontend/mame/ui/filesel.cpp')
-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)
{