mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
xdgmime - Correct the range checks for magic matching
This commit is contained in:
parent
2624e7d6c6
commit
c7c0bcef89
@ -173,7 +173,7 @@ cache_magic_matchlet_compare_to_data (XdgMimeCache *cache,
|
||||
|
||||
int i, j;
|
||||
|
||||
for (i = range_start; i <= range_start + range_length; i++)
|
||||
for (i = range_start; i < range_start + range_length; i++)
|
||||
{
|
||||
int valid_matchlet = TRUE;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user