* grub-core/video/bitmap.c (match_extension): Ignore case.

This commit is contained in:
Alexander Kurtz authored and Vladimir 'phcoder' Serbinenko committed 2011-03-23 17:08:56 +01:00
1 parent 59e1e5f17b
commit 41a85f5508
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
2011-03-23 Alexander Kurtz <kurtz.alex@googlemail.com>
* grub-core/video/bitmap.c (match_extension): Ignore case.
2011-03-23 Vladimir Serbinenko <phcoder@gmail.com> 2011-03-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_entry.c (init_line): Fix off-by-one error. * grub-core/normal/menu_entry.c (init_line): Fix off-by-one error.
+1 -1
View File
@@ -177,7 +177,7 @@ match_extension (const char *filename, const char *ext)
pos -= ext_len; pos -= ext_len;
return grub_strcmp (filename + pos, ext) == 0; return grub_strcasecmp (filename + pos, ext) == 0;
} }
/* Loads bitmap using registered bitmap readers. */ /* Loads bitmap using registered bitmap readers. */