summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/selsoft.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/mame/ui/selsoft.cpp')
-rw-r--r--src/frontend/mame/ui/selsoft.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/selsoft.cpp b/src/frontend/mame/ui/selsoft.cpp
index a5b5a5bb594..4c86aaae9a4 100644
--- a/src/frontend/mame/ui/selsoft.cpp
+++ b/src/frontend/mame/ui/selsoft.cpp
@@ -321,8 +321,8 @@ void menu_select_software::populate(float &customtop, float &custombottom)
item_append(menu_item_type::SEPARATOR, flags_ui);
// configure the custom rendering
- customtop = 4.0f * ui().get_line_height() + 5.0f * UI_BOX_TB_BORDER;
- custombottom = 5.0f * ui().get_line_height() + 4.0f * UI_BOX_TB_BORDER;
+ customtop = 4.0f * ui().get_line_height() + 5.0f * ui().box_tb_border();
+ custombottom = 5.0f * ui().get_line_height() + 4.0f * ui().box_tb_border();
if (old_software != -1)
{