mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
goption: Fix a typo
We presumably want the fallback string used when we cannot determine the program name to contain balanced angle brackets, as it did before commit7098250e
. Fixes:7098250e
"gutils: avoid race setting prgname from g_option_context_parse()/g_application_run()" Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
@@ -1814,7 +1814,7 @@ g_option_context_parse (GOptionContext *context,
|
||||
else
|
||||
prgname = platform_get_argv0 ();
|
||||
|
||||
g_set_prgname_once (prgname ? prgname : "<unknown");
|
||||
g_set_prgname_once (prgname ? prgname : "<unknown>");
|
||||
|
||||
g_free (prgname);
|
||||
}
|
||||
|
Reference in New Issue
Block a user