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

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

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.

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. */