* grub-core/video/bitmap.c (match_extension): Ignore case.
This commit is contained in:
parent
59e1e5f17b
commit
41a85f5508
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
||||
|
||||
* grub-core/normal/menu_entry.c (init_line): Fix off-by-one error.
|
||||
|
|
|
@ -177,7 +177,7 @@ match_extension (const char *filename, const char *ext)
|
|||
|
||||
pos -= ext_len;
|
||||
|
||||
return grub_strcmp (filename + pos, ext) == 0;
|
||||
return grub_strcasecmp (filename + pos, ext) == 0;
|
||||
}
|
||||
|
||||
/* Loads bitmap using registered bitmap readers. */
|
||||
|
|
Loading…
Reference in a new issue