summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/ui.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-01-24 16:28:11 -0500
committer AJR <ajrhacker@users.noreply.github.com>2016-01-24 16:28:11 -0500
commitd5ea912ddd950a93d201a98b10e7be54a9382722 (patch)
treeec34d10c2991b1402b623768e90a0fa0c49e0950 /src/emu/ui/ui.cpp
parentea933b5a381fbd96a60300a9e6e2e697626d3947 (diff)
Have sound_stream::input_name return the std::string it constructs
Diffstat (limited to 'src/emu/ui/ui.cpp')
-rw-r--r--src/emu/ui/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/ui/ui.cpp b/src/emu/ui/ui.cpp
index 61c610d5a0e..8175df2871e 100644
--- a/src/emu/ui/ui.cpp
+++ b/src/emu/ui/ui.cpp
@@ -1872,7 +1872,7 @@ static slider_state *slider_init(running_machine &machine)
INT32 maxval = 2000;
INT32 defval = 1000;
- info.stream->input_name(info.inputnum, str);
+ str.assign(info.stream->input_name(info.inputnum));
str.append(" Volume");
*tailptr = slider_alloc(machine, str.c_str(), 0, defval, maxval, 20, slider_mixervol, (void *)(FPTR)item);
tailptr = &(*tailptr)->next;