changeset 2295:1dfa77851301 trunk

[svn] - fix ** CRITICAL **: bmp_rcfile_write_string: assertion `value != NULL' failed on shutdown.
author nenolod
date Sun, 07 Jan 2007 15:21:28 -0800
parents 05ea2b608e3d
children b9895bba71d0
files ChangeLog audacious/main.c
diffstat 2 files changed, 13 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jan 07 15:14:59 2007 -0800
+++ b/ChangeLog	Sun Jan 07 15:21:28 2007 -0800
@@ -1,3 +1,13 @@
+2007-01-07 23:14:59 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [3596]
+  - remove the static assertion for playlistwin_list != NULL and just 
+    cleanly return instead if that is not the case
+  
+  trunk/audacious/ui_playlist.c    |    5 +++--
+  trunk/audacious/ui_preferences.c |   10 ----------
+  2 files changed, 3 insertions(+), 12 deletions(-)
+
+
 2007-01-07 22:14:14 +0000  Jonathan Schleifer <js@h3c.de>
   revision [3594]
   WTF addr? ITYM ptr!
--- a/audacious/main.c	Sun Jan 07 15:14:59 2007 -0800
+++ b/audacious/main.c	Sun Jan 07 15:21:28 2007 -0800
@@ -593,6 +593,9 @@
     if (!cfg.eqpreset_extension)
         cfg.eqpreset_extension = g_strdup(EQUALIZER_DEFAULT_PRESET_EXT);
 
+    if (!cfg.chardet_detector)
+        cfg.chardet_detector = g_strdup("");
+
     if (!cfg.chardet_fallback)
         cfg.chardet_fallback = g_strdup("");