X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fhelper.c;h=c70f8f7c215b15cb31b636c1e10b3bd53be416c6;hb=8ef8acb7c70a321963d30f2264e8f91e16427fcf;hp=6d90cfc4ea5e7a4b6e5b2a33b6ad3210744c802c;hpb=ef35211c05259417e4f3dd4a7de44e92e4bc54a3;p=pspp-builds.git diff --git a/src/ui/gui/helper.c b/src/ui/gui/helper.c index 6d90cfc4..c70f8f7c 100644 --- a/src/ui/gui/helper.c +++ b/src/ui/gui/helper.c @@ -1,5 +1,5 @@ /* PSPPIRE - a graphical user interface for PSPP. - Copyright (C) 2007 Free Software Foundation + Copyright (C) 2007, 2009 Free Software Foundation This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -170,7 +170,7 @@ convert_glib_filename_to_system_filename (const gchar *fname, GError **err) output_name = g_convert (fname, -1, target_encoding, "UTF-8", NULL, NULL, err); #else - output_name = strdup (fname); + output_name = xstrdup (fname); #endif return output_name;