mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-02 22:03:07 +02: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>
|
2007-11-22 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gkeyfile.c: Set length out param in list-returning functions
|
* glib/gkeyfile.c: Set length out param in list-returning functions
|
||||||
|
@ -772,7 +772,7 @@ print_help (GOptionContext *context,
|
|||||||
gchar *help;
|
gchar *help;
|
||||||
|
|
||||||
help = g_option_context_get_help (context, main_help, group);
|
help = g_option_context_get_help (context, main_help, group);
|
||||||
g_printf (help);
|
g_print ("%s", help);
|
||||||
g_free (help);
|
g_free (help);
|
||||||
|
|
||||||
exit (0);
|
exit (0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user