From 49ec4d524f2a18d6cf668286a9c15773f8b7a82b Mon Sep 17 00:00:00 2001 From: Peter Bloomfield Date: Mon, 2 Jan 2023 13:27:26 -0500 Subject: [PATCH] gstrfuncs: Fix grammar in documentation of stpcpy Fixes https://gitlab.gnome.org/GNOME/glib/-/issues/2857 --- glib/gstrfuncs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index 106544f2f..8525e4692 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -495,12 +495,12 @@ g_strnfill (gsize length, * @dest: destination buffer. * @src: source string. * - * Copies a nul-terminated string into the dest buffer, include the - * trailing nul, and return a pointer to the trailing nul byte. - * This is useful for concatenating multiple strings together - * without having to repeatedly scan for the end. + * Copies a nul-terminated string into the destination buffer, including + * the trailing nul byte, and returns a pointer to the trailing nul byte + * in `dest`. The return value is useful for concatenating multiple + * strings without having to repeatedly scan for the end. * - * Returns: a pointer to trailing nul byte. + * Returns: a pointer to the trailing nul byte in `dest`. **/ gchar * g_stpcpy (gchar *dest,