* grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):

Don't skip first class.
This commit is contained in:
Endres Puschner 2011-04-18 23:24:41 +02:00 committed by Vladimir 'phcoder' Serbinenko
parent 34faa5955a
commit e74b3947af
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-04-18 Endres Puschner <code@e7p.de>
* grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
Don't skip first class.
2011-04-18 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/btrfs.c (grub_btrfs_read_logical): Support huge

View file

@ -257,7 +257,7 @@ grub_gfxmenu_icon_manager_get_icon (grub_gfxmenu_icon_manager_t mgr,
/* Try each class in succession. */
icon = 0;
for (c = entry->classes->next; c && ! icon; c = c->next)
for (c = entry->classes; c && ! icon; c = c->next)
icon = get_icon_by_class (mgr, c->name);
return icon;
}