mirror of
https://github.com/reactos/reactos.git
synced 2024-08-01 09:01:13 +00:00
implement datatype I32 for *printf string version we have a *printf for files as well
now 29 fails in wine test msvcrt printf svn path=/trunk/; revision=22252
This commit is contained in:
parent
a25a59160d
commit
4f6d8e38f4
|
@ -459,6 +459,9 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
|
|||
} else if (*fmt == 'I' && *(fmt+1) == '6' && *(fmt+2) == '4') {
|
||||
qualifier = *fmt;
|
||||
fmt += 3;
|
||||
} else if (*fmt == 'I' && *(fmt+1) == '3' && *(fmt+2) == '2') {
|
||||
qualifier = 'l';
|
||||
fmt += 3;
|
||||
}
|
||||
|
||||
/* default base */
|
||||
|
|
|
@ -457,6 +457,9 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
|
|||
} else if (*fmt == L'I' && *(fmt+1) == L'6' && *(fmt+2) == L'4') {
|
||||
qualifier = *fmt;
|
||||
fmt += 3;
|
||||
} else if (*fmt == L'I' && *(fmt+1) == L'3' && *(fmt+2) == L'2') {
|
||||
qualifier = L'l';
|
||||
fmt += 3;
|
||||
}
|
||||
|
||||
/* default base */
|
||||
|
|
Loading…
Reference in a new issue