diff --git a/ChangeLog b/ChangeLog index 2f1276b02..9c8cd6ee9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-11-23 Matthias Clasen + + * glib/goption.c: Use g_print to print out --help text in + locale encoding. (#469551, Takao Fujiwara) + 2007-11-22 Matthias Clasen * glib/gkeyfile.c: Set length out param in list-returning functions diff --git a/glib/goption.c b/glib/goption.c index c1e6068a2..9d8084b9d 100644 --- a/glib/goption.c +++ b/glib/goption.c @@ -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);