diff options
| author | 2016-02-28 11:09:00 +1100 | |
|---|---|---|
| committer | 2016-02-28 13:36:19 +1100 | |
| commit | aec01e740736db267e452f0ed5947649f79e3408 (patch) | |
| tree | 633ca7d80a756bfcc05d871817201c729e55142d /src/osd/modules/debugger/debugint.cpp | |
| parent | 3cba23966f6c1c6f9ee616e5af00ebcfcb0d0b0a (diff) | |
Replace strformat, strprintf and strcatprintf with type-safe steam_format and string_format
Update MAME to use new function
Instantiate ODR-used static constant members
Make some of the UI code more localisable
Remove use of retired functions in tools
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; } } |
