[glibmm/wip/dboles/ustring-sprintf: 3/4] ustring: Be extra clear about "count/types/order"
- From: Daniel Boles <dboles src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm/wip/dboles/ustring-sprintf: 3/4] ustring: Be extra clear about "count/types/order"
- Date: Fri, 21 Jun 2019 18:05:19 +0000 (UTC)
commit 9ce93bac16f3df7f8e5cb4b874eb4b1de730e305
Author: Daniel Boles <dboles src gnome org>
Date: Fri Jun 21 19:02:18 2019 +0100
ustring: Be extra clear about "count/types/order"
Say the same thing both in the main blurb and the argument documentation
– and say "count" instead of "number" just so it's extra clear what I
mean (and because "size" didn't seem clear enough in that sense).
glib/glibmm/ustring.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h
index 1d62b1e0..0cbf21e1 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -722,7 +722,7 @@ public:
* corresponding argument at the same ordinal position in the list of
* subsequent arguments, and returns the result in a new Glib::ustring.
*
- * Note: You must pass the correct number/types/order of arguments to match
+ * Note: You must pass the correct count/types/order of arguments to match
* the format string, as when calling <tt>printf()</tt> directly. glibmm does
* not check this for you. Breaking this contract invokes undefined behavior
* and is a security risk.
@@ -755,7 +755,7 @@ public:
* @endcode
*
* @param fmt The template string, in the format used by <tt>printf()</tt> et al.
- * @param args A set of arguments having the number and types required by @a fmt.
+ * @param args A set of arguments having the count/types/order required by @a fmt.
*
* @return The substituted string.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]