diff options
Diffstat (limited to 'src/osd/modules/debugger/debugint.cpp')
-rw-r--r-- | src/osd/modules/debugger/debugint.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/osd/modules/debugger/debugint.cpp b/src/osd/modules/debugger/debugint.cpp index 40a6e2a297b..205af4e1f15 100644 --- a/src/osd/modules/debugger/debugint.cpp +++ b/src/osd/modules/debugger/debugint.cpp @@ -1763,8 +1763,6 @@ static void handle_menus(running_machine &machine) static void followers_set_cpu(device_t *device) { - std::string title; - for (DView *dv = list; dv != nullptr; dv = dv->next) { if (dview_is_state(dv, VIEW_STATE_FOLLOW_CPU)) @@ -1775,8 +1773,7 @@ static void followers_set_cpu(device_t *device) case DVT_DISASSEMBLY: case DVT_STATE: dv->view->set_source(*source); - strprintf(title, "%s", source->name()); - dview_set_title(dv, title); + dview_set_title(dv, string_format("%s", source->name())); break; } } |