summaryrefslogtreecommitdiff
path: root/tests/unicode-caseconv.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-07-07 02:42:49 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-07-07 02:42:49 +0000
commitf1f680b68c946a2d2f6af3c942ce1b4c034f1702 (patch)
tree5a80da9edc7b4a8db868706c2ee2a44dd8bd8f9e /tests/unicode-caseconv.c
parent33e1075b222c6bfc79b1a3b23105e53a95e8fff6 (diff)
downloadglib-f1f680b68c946a2d2f6af3c942ce1b4c034f1702.tar.gz
Add length arguments to g_utf8_{strup,strdown,casefold,collate_key}.
Fri Jul 6 22:34:32 2001 Owen Taylor <otaylor@redhat.com> * glib/gunicode.h glib/gunidecomp.c glib/guniprop.c glib/gunicollate.c: Add length arguments to g_utf8_{strup,strdown,casefold,collate_key}. * glib/gdate.c: Fix for above.
Diffstat (limited to 'tests/unicode-caseconv.c')
-rw-r--r--tests/unicode-caseconv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unicode-caseconv.c b/tests/unicode-caseconv.c
index 6b65a7005..65836e142 100644
--- a/tests/unicode-caseconv.c
+++ b/tests/unicode-caseconv.c
@@ -54,7 +54,7 @@ int main (int argc, char **argv)
test = strings[1];
- convert = g_utf8_strup (test);
+ convert = g_utf8_strup (test, -1);
if (strcmp (convert, strings[4]) != 0)
{
fprintf (stderr, "Failure: toupper(%s) == %s, should have been %s\n",
@@ -63,7 +63,7 @@ int main (int argc, char **argv)
}
g_free (convert);
- convert = g_utf8_strdown (test);
+ convert = g_utf8_strdown (test, -1);
if (strcmp (convert, strings[2]) != 0)
{
fprintf (stderr, "Failure: tolower(%s) == %s, should have been %s\n",
@@ -98,7 +98,7 @@ int main (int argc, char **argv)
test = strings[0];
- convert = g_utf8_casefold (test);
+ convert = g_utf8_casefold (test, -1);
if (strcmp (convert, strings[1]) != 0)
{
fprintf (stderr, "Failure: casefold(%s) == '%s', should have been '%s'\n",