diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-11-21 15:51:30 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-11-21 15:51:30 +0000 |
commit | 6875ac66adefd63a0450b03b56b7160424e78931 (patch) | |
tree | 0be5b7d9e1004290e8138cc789c627355c087f9c /pango | |
parent | 49f1502b5ccc88f8592dd217b28a04af52a2d691 (diff) | |
download | pango-6875ac66adefd63a0450b03b56b7160424e78931.tar.gz |
Fix UTF8 => UTF-8 in warning and doc comment. (#153551, Morten Welinder)
Sun Nov 21 10:46:34 2004 Owen Taylor <otaylor@redhat.com>
* pango/pango-layout.c (pango_layout_set_text): Fix UTF8 => UTF-8
in warning and doc comment. (#153551, Morten Welinder)
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-layout.c b/pango/pango-layout.c index a02d78f4..5f846a78 100644 --- a/pango/pango-layout.c +++ b/pango/pango-layout.c @@ -764,7 +764,7 @@ pango_layout_get_ellipsize (PangoLayout *layout) /** * pango_layout_set_text: * @layout: a #PangoLayout - * @text: a UTF8-string + * @text: a UTF-8 string * @length: the length of @text, in bytes. -1 indicates that * the string is nul-terminated and the length should be * calculated. @@ -787,7 +787,7 @@ pango_layout_set_text (PangoLayout *layout, if (length != 0) { if (!g_utf8_validate (text, length, &end)) - g_warning ("Invalid UTF8 string passed to pango_layout_set_text()"); + g_warning ("Invalid UTF-8 string passed to pango_layout_set_text()"); length = end - text; } |