diff options
author | 2012-06-02 16:06:03 +0000 | |
---|---|---|
committer | 2012-06-02 16:06:03 +0000 | |
commit | 7250ef9249dd2e65454d5f39ca4d3999e6d7c9a4 (patch) | |
tree | 6e465c5493bbdda1190db60883a21d92f140d910 /src/emu/uimain.c | |
parent | 6c837f2c2545264d797f74b8ee7568f5e08a6783 (diff) |
dipswitch ui fix, my mistake (no whatsnew)
Diffstat (limited to 'src/emu/uimain.c')
-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 1029c722e3c..1df866a3265 100644 --- a/src/emu/uimain.c +++ b/src/emu/uimain.c @@ -1182,7 +1182,7 @@ void ui_menu_settings_dip_switches::custom_render(void *selectedref, float top, ioport_field *field = (ioport_field *)selectedref; dip_descriptor *dip; - if (field!=NULL && field->first_diplocation() == NULL) + if (field==NULL || field->first_diplocation() == NULL) return; /* add borders */ |