summaryrefslogtreecommitdiffstats
path: root/src/frontend/mame/ui/filesel.cpp
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2016-07-03 13:28:09 -0400
committer Nathan Woods <npwoods@mess.org>2016-07-03 13:28:09 -0400
commitde6bbdf1760fac48b94d40ed50281ccee7f83391 (patch)
tree658629560b3bd3903b9871db3f53bc39d1902e74 /src/frontend/mame/ui/filesel.cpp
parent587e9f5e32b2905479fd0c432b9148922e0ce508 (diff)
Changed a few zippath related functions to return their strings as a return value, as opposed to passing in a destination buffer
Diffstat (limited to 'src/frontend/mame/ui/filesel.cpp')
-rw-r--r--src/frontend/mame/ui/filesel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp
index b9df1e5984c..4d415f19f37 100644
--- a/src/frontend/mame/ui/filesel.cpp
+++ b/src/frontend/mame/ui/filesel.cpp
@@ -228,7 +228,7 @@ menu_file_selector::file_selector_entry *menu_file_selector::append_dirent_entry
}
// determine the full path
- util::zippath_combine(buffer, m_current_directory.c_str(), dirent->name);
+ buffer = util::zippath_combine(m_current_directory.c_str(), dirent->name);
// create the file selector entry
entry = &append_entry(