diff audacious/skin.c @ 639:9d2c175e458e trunk

[svn] More skin-related fixups. One segfault fix by Michael Hanselmann and a fix by Daniel Drake to also display skins that lack a thumbnail.
author chainsaw
date Sat, 18 Feb 2006 14:02:57 -0800
parents 72ec4db929ed
children 97113126c7f9
line wrap: on
line diff
--- a/audacious/skin.c	Sat Feb 18 13:21:21 2006 -0800
+++ b/audacious/skin.c	Sat Feb 18 14:02:57 2006 -0800
@@ -330,7 +330,7 @@
 
     memset(&basenames, 0, sizeof(basenames));
 
-    for (i = 0, y = 0; ext_targets[i]; i++, y++)
+    for (i = 0, y = 0; i < EXTENSION_TARGETS; i++, y++)
     {
         basenames[y] = g_strdup_printf("%s.%s", pixmap_id_mapping->name,
 			ext_targets[i]);