xdgmime - Correct the range checks for magic matching

This commit is contained in:
Alexander Larsson 2009-10-02 12:06:25 +02:00
parent 2624e7d6c6
commit c7c0bcef89

View File

@ -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;