summaryrefslogtreecommitdiffstats
path: root/gettext-runtime/intl/vasnprintf.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-02-24 11:35:44 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:16:02 +0200
commitcefb04867289b6839db7a7ec3f2d007b263f28d9 (patch)
tree7e99ba22a5afd80a9430bfec466867de9a0b378d /gettext-runtime/intl/vasnprintf.c
parent2d3a419ad63410e783ee706c484d612cd8ba24ef (diff)
downloadexternal_gettext-cefb04867289b6839db7a7ec3f2d007b263f28d9.zip
external_gettext-cefb04867289b6839db7a7ec3f2d007b263f28d9.tar.gz
external_gettext-cefb04867289b6839db7a7ec3f2d007b263f28d9.tar.bz2
Typography in comments.
Diffstat (limited to 'gettext-runtime/intl/vasnprintf.c')
-rw-r--r--gettext-runtime/intl/vasnprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gettext-runtime/intl/vasnprintf.c b/gettext-runtime/intl/vasnprintf.c
index 6e88f6a..9ff9905 100644
--- a/gettext-runtime/intl/vasnprintf.c
+++ b/gettext-runtime/intl/vasnprintf.c
@@ -4589,7 +4589,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
# if WIDE_CHAR_VERSION
/* ISO C says about %ls in fwprintf:
- "If the precision is not specified or is greater
+ "If the precision is not specified or is greater
than the size of the array, the array shall
contain a null wide character."
So if there is a precision, we must not use
@@ -4603,7 +4603,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
tmp_length = local_wcslen (arg);
# else
/* ISO C says about %ls in fprintf:
- "If a precision is specified, no more than that
+ "If a precision is specified, no more than that
many bytes are written (including shift
sequences, if any), and the array shall contain
a null wide character if, to equal the
@@ -4622,7 +4622,7 @@ VASNPRINTF (DCHAR_T *resultbuf, size_t *lengthp,
{
# if WIDE_CHAR_VERSION
/* ISO C says about %s in fwprintf:
- "If the precision is not specified or is greater
+ "If the precision is not specified or is greater
than the size of the converted array, the
converted array shall contain a null wide
character."