X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tools%2Fthemetoxml%2Fthemetoxml.c;h=77e91be32a0a48c8192e5f9f7927d3078a97c469;hb=4717b9870c48683dc1b0e862ab2a64886ec26378;hp=e6f947b2759ed96e735aeca94ffe1b98be44a873;hpb=bd272698508dd511266bc6a38d2f04b4b6e3d788;p=chaz%2Fopenbox diff --git a/tools/themetoxml/themetoxml.c b/tools/themetoxml/themetoxml.c index e6f947b2..77e91be3 100644 --- a/tools/themetoxml/themetoxml.c +++ b/tools/themetoxml/themetoxml.c @@ -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; }