]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/gfxmenu/icon_manager.c (grub_gfxmenu_icon_manager_get_icon):
authorEndres Puschner <code@e7p.de>
Mon, 18 Apr 2011 21:24:41 +0000 (23:24 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 18 Apr 2011 21:24:41 +0000 (23:24 +0200)
Don't skip first class.

ChangeLog
grub-core/gfxmenu/icon_manager.c

index 676c374aacdff4339607595ea51064759a3a68a4..8c00f7849086ac1200de7a4fef2831947a6dd8df 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 0c304ede0f61d7c76077450e240e3b3353dae86f..6990d05d421ed893a7d6c5cc14fa03bbc64433ea 100644 (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;
 }