changeset 4494:0f43f3a5eb12

Fix the "skin path is fucked up" bug.
author William Pitcock <nenolod@atheme.org>
date Mon, 21 Apr 2008 02:54:36 -0500
parents a3566b1f5222
children e8b8b22ce567
files src/audacious/main.c src/audacious/skin.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/main.c	Mon Apr 21 08:07:45 2008 +0300
+++ b/src/audacious/main.c	Mon Apr 21 02:54:36 2008 -0500
@@ -676,6 +676,8 @@
 
     playlist_stop_get_info_thread();
 
+    aud_config_save();
+
     if (options.headless == FALSE)
     {
         gtk_widget_hide(equalizerwin);
@@ -688,7 +690,6 @@
         cleanup_skins();
     }
 
-    aud_config_save();
     plugin_system_cleanup();
 
     /* free and clear each playlist */
--- a/src/audacious/skin.c	Mon Apr 21 08:07:45 2008 +0300
+++ b/src/audacious/skin.c	Mon Apr 21 02:54:36 2008 -0500
@@ -551,6 +551,7 @@
 void cleanup_skins()
 {
     skin_destroy(aud_active_skin);
+    aud_active_skin = NULL;
 }