mirror of
https://github.com/reactos/reactos.git
synced 2025-01-13 01:22:03 +00:00
using uppercaps for %p instead lowercaps when it format the string, that make passing one more of wine test
27 fails now svn path=/trunk/; revision=22259
This commit is contained in:
parent
f0bb911d21
commit
00d62df5ab
2 changed files with 6 additions and 0 deletions
|
@ -566,6 +566,9 @@ int _vsnprintf(char *buf, size_t cnt, const char *fmt, va_list args)
|
|||
continue;
|
||||
|
||||
case 'p':
|
||||
if ((flags & LARGE) == 0)
|
||||
flags |= LARGE;
|
||||
|
||||
if (field_width == -1) {
|
||||
field_width = 2 * sizeof(void *);
|
||||
flags |= ZEROPAD;
|
||||
|
|
|
@ -565,6 +565,9 @@ int _vsnwprintf(wchar_t *buf, size_t cnt, const wchar_t *fmt, va_list args)
|
|||
continue;
|
||||
|
||||
case L'p':
|
||||
if ((flags & LARGE) == 0)
|
||||
flags |= LARGE;
|
||||
|
||||
if (field_width == -1) {
|
||||
field_width = 2*sizeof(void *);
|
||||
flags |= ZEROPAD;
|
||||
|
|
Loading…
Reference in a new issue