changeset 10801:66927244245f

* lib/unicodeio.c (unicode_to_mb): Correct spelling of u8_uctomb.
author Jim Meyering <meyering@redhat.com>
date Wed, 12 Nov 2008 15:27:38 +0100
parents 0ed478c1380e
children 51661ad8ad28
files ChangeLog lib/unicodeio.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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
--- a/lib/unicodeio.c
+++ b/lib/unicodeio.c
@@ -106,7 +106,7 @@
     }
 
   /* 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);