diff options
| author | 2012-06-05 19:12:22 +0000 | |
|---|---|---|
| committer | 2012-06-05 19:12:22 +0000 | |
| commit | b23708d80a782ceceff3191f34e8c65783fef060 (patch) | |
| tree | 90bc4395c71c27aee261dd27d459e83aa98a4560 /src | |
| parent | 0bd8473c83d6f0c89762ed45229bbcad1af48364 (diff) | |
fix for null values (nw)
Diffstat (limited to 'src')
| -rw-r--r-- | src/emu/uimain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/uimain.c b/src/emu/uimain.c index 1caff7311f9..dbc98edcd22 100644 --- a/src/emu/uimain.c +++ b/src/emu/uimain.c @@ -456,7 +456,7 @@ void ui_menu_slot_devices::populate() const char *title = get_slot_device(slot); // do no display fixed slots if (slot->fixed()) title = slot->get_default_card(); - + if (title==NULL) title = ""; item_append(slot->device().tag()+1, strcmp(title,"")==0 ? "------" : title, slot->fixed() ? 0 : (MENU_FLAG_LEFT_ARROW | MENU_FLAG_RIGHT_ARROW), (void *)slot); } item_append(MENU_SEPARATOR_ITEM, NULL, 0, NULL); |
