Fix an off-by-one error

Reported by Steve Grubb.
This commit is contained in:
Matthias Clasen 2010-01-05 18:16:37 -05:00
parent 95889d1927
commit 6cee86a3ef

View File

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