Mercurial > audlegacy
changeset 4082:46f8c5fb6575
don't do skin_install_skin on faulty skins or archives that doesn't contain skin at all
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 09 Dec 2007 14:48:40 +0100 |
parents | 05140463a43e |
children | 9572082a70d2 |
files | src/audacious/ui_preferences.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audacious/ui_preferences.c Sun Dec 09 14:41:10 2007 +0100 +++ b/src/audacious/ui_preferences.c Sun Dec 09 14:48:40 2007 +0100 @@ -1029,7 +1029,8 @@ } if (file_is_archive(path)) { - bmp_active_skin_load(path); + if (!bmp_active_skin_load(path)) + return; skin_install_skin(path); skin_view_update(GTK_TREE_VIEW(widget), GTK_WIDGET(skin_refresh_button));