X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.c;h=d2defd69933a85a4063d1673b8e61c8d0f7b3462;hb=a6df7a4863f51dd4121a067f947335fba197617b;hp=e3c4ee081a911cb4d70d81d14517cf0005b25ee3;hpb=deaede551f5448e159107ce837c3a90ee7185c74;p=pspp-builds.git diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index e3c4ee08..d2defd69 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -77,12 +77,12 @@ get_widget_assert(GladeXML *xml, const gchar *name) } /* Converts a string in the pspp locale to utf-8 */ -const char * +char * pspp_locale_to_utf8(const gchar *text, gssize len, GError **err) { GError *tmp_error = 0; - const gchar *s; + gchar *s; if ( ! text ) return 0;