changeset 4643:4eb5a651bbc4

Properly fix my own fucked up changes. Sorry for the inconvenience.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 13 Jun 2008 16:44:48 +0300
parents b96bbd08d54b
children 23e712435e3e
files src/audacious/tuple.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/tuple.c	Fri Jun 13 16:43:51 2008 +0300
+++ b/src/audacious/tuple.c	Fri Jun 13 16:44:48 2008 +0300
@@ -151,7 +151,7 @@
 tuple_associate_data(Tuple *tuple, const gint cnfield, const gchar *field, TupleValueType ftype);
 
 static gboolean
-_tuple_associate_raw_string(Tuple *tuple, const gint nfield, const gchar *field, const gchar *string)
+_tuple_associate_raw_string(Tuple *tuple, const gint nfield, const gchar *field, gchar *string)
 {
     TupleValue *value;
 
@@ -159,7 +159,7 @@
     if ((value = tuple_associate_data(tuple, nfield, field, TUPLE_STRING)) == NULL)
         return FALSE;
 
-    value->value.string = NULL;
+    value->value.string = string;
 
     TUPLE_UNLOCK_WRITE();
     return TRUE;