projects
/
dana
/
cg-glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2624e7d
)
xdgmime - Correct the range checks for magic matching
author
Alexander Larsson
<alexl@redhat.com>
Fri, 2 Oct 2009 10:06:25 +0000
(12:06 +0200)
committer
Alexander Larsson
<alexl@redhat.com>
Fri, 2 Oct 2009 10:55:54 +0000
(12:55 +0200)
gio/xdgmime/xdgmimecache.c
patch
|
blob
|
history
diff --git
a/gio/xdgmime/xdgmimecache.c
b/gio/xdgmime/xdgmimecache.c
index
03fbbb6
..
6765787
100644
(file)
--- a/
gio/xdgmime/xdgmimecache.c
+++ b/
gio/xdgmime/xdgmimecache.c
@@
-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;