From 3987e679a9dbc4d406cd5091e7dc3129e6253e27 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 17 Dec 2018 14:32:29 +0000 Subject: [PATCH] goption: Fix an annotation on g_option_context_parse_strv() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s `zero-terminated`, not `null-terminated` (yes, this is esoteric and hard to remember). Signed-off-by: Philip Withnall --- glib/goption.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/goption.c b/glib/goption.c index 4b2abc057..83c5eb29e 100644 --- a/glib/goption.c +++ b/glib/goption.c @@ -2659,7 +2659,7 @@ g_option_context_get_description (GOptionContext *context) /** * g_option_context_parse_strv: * @context: a #GOptionContext - * @arguments: (inout) (array null-terminated=1): a pointer to the + * @arguments: (inout) (array zero-terminated=1): a pointer to the * command line arguments (which must be in UTF-8 on Windows) * @error: a return location for errors *