* lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.
authorJim Meyering <meyering@redhat.com>
Wed, 12 Nov 2008 14:27:38 +0000 (15:27 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 12 Nov 2008 16:37:58 +0000 (17:37 +0100)
ChangeLog
lib/unicodeio.c

index 9bb918e..869ffcd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-12  Jim Meyering  <meyering@redhat.com>
+
+       * lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.
+
 2008-11-12  Simon Josefsson  <simon@josefsson.org>
 
        * modules/warnings (configure.ac): Do AC_SUBST([WARN_CFLAGS]) here
index bfe7483..9d50a40 100644 (file)
@@ -106,7 +106,7 @@ unicode_to_mb (unsigned int code,
     }
 
   /* Convert the character to UTF-8.  */
-  count = utf8_uctomb ((unsigned char *) inbuf, code, sizeof (inbuf));
+  count = u8_uctomb ((unsigned char *) inbuf, code, sizeof (inbuf));
   if (count < 0)
     return failure (code, N_("character out of range"), callback_arg);