Commit 0d723a24 authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Use g_print to print out --help text in locale encoding. (#469551, Takao

2007-11-23  Matthias Clasen  <mclasen@redhat.com>

        * glib/goption.c: Use g_print to print out --help text in
        locale encoding.  (#469551, Takao Fujiwara)



svn path=/trunk/; revision=5916
parent ccf93c86
2007-11-23 Matthias Clasen <mclasen@redhat.com>
* glib/goption.c: Use g_print to print out --help text in
locale encoding. (#469551, Takao Fujiwara)
2007-11-22 Matthias Clasen <mclasen@redhat.com>
* glib/gkeyfile.c: Set length out param in list-returning functions
......
......@@ -772,7 +772,7 @@ print_help (GOptionContext *context,
gchar *help;
help = g_option_context_get_help (context, main_help, group);
g_printf (help);
g_print ("%s", help);
g_free (help);
exit (0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment