you didn't say no
authorMikael Magnusson <mikachu@comhem.se>
Fri, 30 Mar 2007 16:37:17 +0000 (16:37 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Fri, 30 Mar 2007 16:37:17 +0000 (16:37 +0000)
tools/themetoxml/themetoxml.c

index e6f947b..77e91be 100644 (file)
@@ -89,8 +89,7 @@ static gboolean read_string(XrmDatabase db, const gchar *rname,
   
     if (XrmGetResource(db, rname, rclass, &rettype, &retvalue) &&
         retvalue.addr != NULL) {
-        *value = retvalue.addr;
-        g_strstrip(*value);
+        *value = g_strstrip(retvalue.addr);
         ret = TRUE;
     }