Fix an off-by-one error
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jan 2010 23:16:37 +0000 (18:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jan 2010 23:16:37 +0000 (18:16 -0500)
Reported by Steve Grubb.

gio/gcontenttype.c

index 0a95e5b..51f6653 100644 (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;