[glibmm] Glib::ustring documentation: Minor fix
- From: Kjell Ahlstedt <kjellahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glibmm] Glib::ustring documentation: Minor fix
- Date: Wed, 18 Sep 2019 08:14:54 +0000 (UTC)
commit b1675455204e03b7e308809a61a851063f3f118c
Author: Kjell Ahlstedt <kjellahlstedt gmail com>
Date: Wed Sep 18 10:13:09 2019 +0200
Glib::ustring documentation: Minor fix
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 746a304d..a5bfca48 100644
--- a/glib/glibmm/ustring.h
+++ b/glib/glibmm/ustring.h
@@ -761,7 +761,7 @@ public:
* greeting, name, your_cows, cow_percentage, my_cows);
*
* std::cout << text;
- * // Hi, Dennis! You have 2 cows. That's about 27.27% of the 11 cows I have.
+ * // Hi, Dennis! You have 3 cows. That's about 27.27% of the 11 cows I have.
* @endcode
*
* @param fmt The template string, in the format used by <tt>printf()</tt> et al.
@@ -774,7 +774,7 @@ public:
template <class... Ts>
static inline ustring sprintf(const ustring& fmt, const Ts&... args);
- /* Overload of sprintf() taking a string literal.
+ /*! Overload of sprintf() taking a string literal.
*
* The main benefit of this is not constructing a temporary ustring if @p fmt
* is a string literal. A secondary effect is that it might encourage compilers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]