+2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/gfxmenu/gui_list.c (draw_menu): Don't use set in if.
+
2011-12-14 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/efi/api.h (grub_efi_memory_descriptor): Add packed
visible_index++, menu_index++)
{
int is_selected = (menu_index == self->view->selected);
+ struct grub_video_bitmap *icon;
if (is_selected)
{
item_top - sel_toppad);
}
- struct grub_video_bitmap *icon;
- if ((icon = get_item_icon (self, menu_index)) != 0)
+ icon = get_item_icon (self, menu_index);
+ if (icon != 0)
grub_video_blit_bitmap (icon, GRUB_VIDEO_BLIT_BLEND,
sel_leftpad,
item_top + (item_height - self->icon_height) / 2,