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:
Magnus Olsen 2006-06-06 23:22:11 +00:00
parent f0bb911d21
commit 00d62df5ab
2 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -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;