mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-24 16:40:06 +01:00
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
This commit is contained in:
parent
ccf93c8693
commit
0d723a240e
@ -1,3 +1,8 @@
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user