* 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
|
@ -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…
Add table
Add a link
Reference in a new issue