diff options
Diffstat (limited to 'com32/lib/vsnprintf.c')
-rw-r--r-- | com32/lib/vsnprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/lib/vsnprintf.c b/com32/lib/vsnprintf.c index 5cb93319..8279d7a8 100644 --- a/com32/lib/vsnprintf.c +++ b/com32/lib/vsnprintf.c @@ -369,10 +369,10 @@ int vsnprintf(char *buffer, size_t n, const char *format, va_list ap) { char sch; int i; - + if ( prec != -1 && slen > prec ) slen = prec; - + if ( width > slen && !(flags & FL_MINUS) ) { char pad = (flags & FL_ZERO) ? '0' : ' '; while ( width > slen ) { @@ -414,7 +414,7 @@ int vsnprintf(char *buffer, size_t n, const char *format, va_list ap) } } break; - + default: /* Anything else, including % */ EMIT(ch); break; |