mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-25 08:39:28 +00:00
* grub-core/video/bitmap.c (match_extension): Ignore case.
This commit is contained in:
1 parent
59e1e5f17b
commit
41a85f5508
2 files changed
+5
-1
No files matched your search
@@ -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. */
|
||||
|
||||
Reference in new issue
Block a user