summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/unicodeio.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9bb918e18c..869ffcdaa8 100644
--- 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
diff --git a/lib/unicodeio.c b/lib/unicodeio.c
index bfe7483a48..9d50a40858 100644
--- a/lib/unicodeio.c
+++ b/lib/unicodeio.c
@@ -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);