Reseting the conversion qualifier for each new value from the format string.

svn path=/trunk/; revision=3063
This commit is contained in:
Hartmut Birr 2002-06-13 16:45:02 +00:00
parent e2822009d7
commit e019c02170
2 changed files with 2 additions and 0 deletions

View file

@ -559,6 +559,7 @@ int __vfprintf(FILE *f, const char *fmt, va_list args)
}
/* get the conversion qualifier */
qualifier = 0;
// %Z can be just stand alone or as size_t qualifier
if ( *fmt == 'Z' ) {
qualifier = *fmt;

View file

@ -558,6 +558,7 @@ int __vfwprintf(FILE *f, const wchar_t *fmt, va_list args)
}
/* get the conversion qualifier */
qualifier=0;
// %Z can be just stand alone or as size_t qualifier
if ( *fmt == 'Z' ) {
qualifier = *fmt;