diff options
author | 2015-04-11 15:26:58 +0200 | |
---|---|---|
committer | 2015-04-11 15:26:58 +0200 | |
commit | 6b36c7ab225c4619dcb5ac33c34813a66277457e (patch) | |
tree | 51fe970d770cd4ad794b6aa428560f020f0f0fd6 /src/emu/ui/inputmap.c | |
parent | c334fda9a9da652bcac871f3b778ba4ca967031c (diff) |
cstr() - > c_str() as preparation for move to std::string (nw)
Diffstat (limited to 'src/emu/ui/inputmap.c')
-rw-r--r-- | src/emu/ui/inputmap.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/emu/ui/inputmap.c b/src/emu/ui/inputmap.c index 4150bfc9649..b4f9cf06aeb 100644 --- a/src/emu/ui/inputmap.c +++ b/src/emu/ui/inputmap.c @@ -414,7 +414,7 @@ void ui_menu_input::populate_and_sort(input_item_data *itemlist) item = itemarray[curitem]; assert(nameformat[item->type] != NULL); - if (item->owner_name && strcmp(item->owner_name, prev_owner.cstr()) != 0) + if (item->owner_name && strcmp(item->owner_name, prev_owner.c_str()) != 0) { if (first_entry) first_entry = false; @@ -568,7 +568,7 @@ void ui_menu_settings::populate() flags |= MENU_FLAG_RIGHT_ARROW; /* add the menu item */ - if (strcmp(field->device().tag(), prev_owner.cstr()) != 0) + if (strcmp(field->device().tag(), prev_owner.c_str()) != 0) { if (first_entry) first_entry = false; @@ -872,7 +872,7 @@ void ui_menu_analog::populate() analog_item_data *data; UINT32 flags = 0; astring name; - if (strcmp(field->device().tag(), prev_owner.cstr()) != 0) + if (strcmp(field->device().tag(), prev_owner.c_str()) != 0) { if (first_entry) first_entry = false; @@ -895,7 +895,7 @@ void ui_menu_analog::populate() { default: case ANALOG_ITEM_KEYSPEED: - text.printf("%s Digital Speed", name.cstr()); + text.printf("%s Digital Speed", name.c_str()); subtext.printf("%d", settings.delta); data->min = 0; data->max = 255; @@ -904,7 +904,7 @@ void ui_menu_analog::populate() break; case ANALOG_ITEM_CENTERSPEED: - text.printf("%s Autocenter Speed", name.cstr()); + text.printf("%s Autocenter Speed", name.c_str()); subtext.printf("%d", settings.centerdelta); data->min = 0; data->max = 255; @@ -913,7 +913,7 @@ void ui_menu_analog::populate() break; case ANALOG_ITEM_REVERSE: - text.printf("%s Reverse", name.cstr()); + text.printf("%s Reverse", name.c_str()); subtext.cpy(settings.reverse ? "On" : "Off"); data->min = 0; data->max = 1; @@ -922,7 +922,7 @@ void ui_menu_analog::populate() break; case ANALOG_ITEM_SENSITIVITY: - text.printf("%s Sensitivity", name.cstr()); + text.printf("%s Sensitivity", name.c_str()); subtext.printf("%d", settings.sensitivity); data->min = 1; data->max = 255; |