(GLUI) Fix code style

This commit is contained in:
Jean-André Santoni 2015-11-05 16:51:14 +07:00
parent 67b47e29f0
commit 992d58bd8c

View File

@ -925,9 +925,9 @@ static void materialui_layout(menu_handle_t *menu, materialui_handle_t *material
video_driver_get_size(&width, &height);
/* Mobiles platforms may have very small display metrics coupled to a high
resolution, so we should be dpi aware to ensure the entries hitboxes are big
enough. On desktops, we just care about readability, with every widget size
proportional to the display width. */
resolution, so we should be dpi aware to ensure the entries hitboxes are
big enough. On desktops, we just care about readability, with every widget
size proportional to the display width. */
menu_display_ctl(MENU_DISPLAY_CTL_GET_DPI, &scale_factor);
new_header_height = scale_factor / 3;
@ -1070,7 +1070,7 @@ static bool materialui_load_image(void *data, menu_image_type_t type)
static float materialui_get_scroll(void)
{
size_t selection;
unsigned width, height;
unsigned width, height = 0;
int half = 0;
materialui_handle_t *materialui = NULL;
menu_handle_t *menu = menu_driver_get_ptr();