summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/libasprintf/vasnprintf.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2012-02-18 13:55:16 +0100
committerBruno Haible <bruno@clisp.org>2012-02-18 22:30:31 +0100
commit4e2caeddd1efd32502de66a9b4e428a71de92224 (patch)
tree30d23c59c9f5d21f7b1b46c69b54aa34d790a3a8 /gettext-runtime/libasprintf/vasnprintf.c
parentb366aa9b240c14807954b7eb074cb56854a1ea65 (diff)
downloadexternal_gettext-4e2caeddd1efd32502de66a9b4e428a71de92224.zip
external_gettext-4e2caeddd1efd32502de66a9b4e428a71de92224.tar.gz
external_gettext-4e2caeddd1efd32502de66a9b4e428a71de92224.tar.bz2
Update from gnulib.
Diffstat (limited to 'gettext-runtime/libasprintf/vasnprintf.c')
-rw-r--r--gettext-runtime/libasprintf/vasnprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gettext-runtime/libasprintf/vasnprintf.c b/gettext-runtime/libasprintf/vasnprintf.c
index f767ef9..f8b138d 100644
--- a/gettext-runtime/libasprintf/vasnprintf.c
+++ b/gettext-runtime/libasprintf/vasnprintf.c
@@ -2813,7 +2813,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
if (has_width)
{
# if ENABLE_UNISTDIO
- /* Outside POSIX, it's preferrable to compare the width
+ /* Outside POSIX, it's preferable to compare the width
against the number of _characters_ of the converted
value. */
w = DCHAR_MBSNLEN (result + length, characters);
@@ -5416,7 +5416,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
size_t w;
# if ENABLE_UNISTDIO
- /* Outside POSIX, it's preferrable to compare the width
+ /* Outside POSIX, it's preferable to compare the width
against the number of _characters_ of the converted
value. */
w = DCHAR_MBSNLEN (result + length, count);