Add ifdef

This commit is contained in:
twinaphex 2020-06-08 21:45:31 +02:00
parent 9364deb539
commit 7841f07e08

View File

@ -1010,11 +1010,13 @@ static int menu_displaylist_parse_playlist(menu_displaylist_info_t *info,
{
show_inline_core_name = true;
#ifdef HAVE_RGUI
/* Get spacer for menu entry labels (<content><spacer><core>)
* > Note: Only required when showing inline core names */
if (string_is_equal(menu_driver, "rgui"))
strlcpy(label_spacer, PL_LABEL_SPACER_RGUI, sizeof(label_spacer));
else
#endif
strlcpy(label_spacer, PL_LABEL_SPACER_DEFAULT, sizeof(label_spacer));
}