mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +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
2 changed files with 8 additions and 2 deletions
|
@ -459,7 +459,10 @@ 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 */
|
||||
base = 10;
|
||||
|
|
|
@ -457,7 +457,10 @@ 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 */
|
||||
base = 10;
|
||||
|
|
Loading…
Reference in a new issue