diff options
author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-09-19 20:48:15 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2006-09-19 20:48:15 +0000 |
commit | 62d28b24c35317f9730cd661a1f4d25f1b24e4a8 (patch) | |
tree | 5c91bb1f9615986ee0cb10251a9737949f1b9855 /glib/glibmm | |
parent | 5825be4584969d60cf96d3968a5cd8884a3f8f07 (diff) | |
download | glibmm-62d28b24c35317f9730cd661a1f4d25f1b24e4a8.tar.gz |
ustring(const ustring& src, size_type i, size_type n=npos) and
2006-09-19 Ralf Stephan <ralf@ark.in-berlin.de>
* glib/glibmm/ustring.h:
ustring(const ustring& src, size_type i, size_type n=npos)
and
ustring(const char* src, size_type n) constructors:
In the reference documentation, mention explicitly that
n is the number of _UTF-8_ characters, rather than
ASCII characters (bytes).
Diffstat (limited to 'glib/glibmm')
-rw-r--r-- | glib/glibmm/ustring.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/glibmm/ustring.h b/glib/glibmm/ustring.h index ccbe0999..b656bde3 100644 --- a/glib/glibmm/ustring.h +++ b/glib/glibmm/ustring.h @@ -269,13 +269,13 @@ public: /*! Construct a ustring as a copy of a substring. * @param src %Source ustring. * @param i Index of first character to copy from. - * @param n Number of characters to copy (defaults to copying the remainder). + * @param n Number of UTF-8 characters to copy (defaults to copying the remainder). */ ustring(const ustring& src, size_type i, size_type n=npos); /*! Construct a ustring as a partial copy of a C string. * @param src %Source C string encoded as UTF-8. - * @param n Number of characters to copy. + * @param n Number of UTF-8 characters to copy. */ ustring(const char* src, size_type n); |