changeset 2326:094cac62c904 trunk

[svn] Fixed: configdb_rcfile.c:57: warning: suggest parentheses around assignment used as truth value
author js
date Sat, 13 Jan 2007 16:07:48 -0800
parents 63c9a2724e73
children 921b2d8d9b2e
files ChangeLog src/libaudacious/configdb_rcfile.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Jan 13 15:04:38 2007 -0800
+++ b/ChangeLog	Sat Jan 13 16:07:48 2007 -0800
@@ -1,3 +1,13 @@
+2007-01-13 23:04:38 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [3660]
+  - revert r3646 because it is not a user-friendly method of transitioning.
+    pre-r3646 produces the proper behaviour defined by XDG for migration.
+  
+  trunk/configure.ac                       |    1 +
+  trunk/src/libaudacious/configdb_rcfile.c |   16 +++++++++++++++-
+  2 files changed, 16 insertions(+), 1 deletion(-)
+
+
 2007-01-13 22:49:55 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [3658]
   - remove leftover remnants of automake from buildsystem
--- a/src/libaudacious/configdb_rcfile.c	Sat Jan 13 15:04:38 2007 -0800
+++ b/src/libaudacious/configdb_rcfile.c	Sat Jan 13 16:07:48 2007 -0800
@@ -54,7 +54,7 @@
 #ifdef DOTAUDACIOUS_COMPAT
     if (!db->file) {
         tmp = g_build_filename(g_get_home_dir(), BMP_RCPATH, "config", NULL);
-        if (db->file = bmp_rcfile_open(tmp)) {
+        if ((db->file = bmp_rcfile_open(tmp))) {
             g_free(db->filename);
             db->filename = tmp;
         }