projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95889d1
)
Fix an off-by-one error
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 5 Jan 2010 23:16:37 +0000
(18:16 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Tue, 5 Jan 2010 23:16:37 +0000
(18:16 -0500)
Reported by Steve Grubb.
gio/gcontenttype.c
patch
|
blob
|
history
diff --git
a/gio/gcontenttype.c
b/gio/gcontenttype.c
index
0a95e5b
..
51f6653
100644
(file)
--- a/
gio/gcontenttype.c
+++ b/
gio/gcontenttype.c
@@
-748,7
+748,7
@@
g_content_type_get_icon (const char *type)
char *mimetype_icon, *generic_mimetype_icon, *q;
char *xdg_mimetype_icon, *legacy_mimetype_icon;
char *xdg_mimetype_generic_icon;
- char *icon_names[
4
];
+ char *icon_names[
5
];
int n = 0;
const char *p;
GIcon *themed_icon;