mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user