diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-07 22:29:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-07 22:29:51 +0000 |
commit | a203182302733c0ea98d66ee1f576f251697dc81 (patch) | |
tree | d15b59030f051a7768f77f7a98c860a0387c09fe /src/message.c | |
parent | 362e1a30c6f3527d5d0efc328c2fb448290cd6fc (diff) | |
download | vim-a203182302733c0ea98d66ee1f576f251697dc81.zip |
updated for version 7.0217
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/message.c b/src/message.c index c3acc409a..e0971b67b 100644 --- a/src/message.c +++ b/src/message.c @@ -3846,7 +3846,7 @@ tv_str(tvs, idxp) /* * This code was included to provide a portable vsnprintf() and snprintf(). - * Some systems may provide their own, but we always use these for + * Some systems may provide their own, but we always use this one for * consistency. * * This code is based on snprintf.c - a portable implementation of snprintf @@ -3866,14 +3866,14 @@ tv_str(tvs, idxp) * The locale is not used, the string is used as a byte string. This is only * relevant for double-byte encodings where the second byte may be '%'. * - * It is permitted for str_m to be zero, and it is permitted to specify NULL - * pointer for resulting string argument if str_m is zero (as per ISO C99). + * It is permitted for "str_m" to be zero, and it is permitted to specify NULL + * pointer for resulting string argument if "str_m" is zero (as per ISO C99). * * The return value is the number of characters which would be generated * for the given input, excluding the trailing null. If this value - * is greater or equal to str_m, not all characters from the result - * have been stored in str, output bytes beyond the (str_m-1) -th character - * are discarded. If str_m is greater than zero it is guaranteed + * is greater or equal to "str_m", not all characters from the result + * have been stored in str, output bytes beyond the ("str_m"-1) -th character + * are discarded. If "str_m" is greater than zero it is guaranteed * the resulting string will be null-terminated. */ |