wvsnprint accepts %p too (on win2k).
This commit is contained in:
parent
d30469971e
commit
08264e679d
|
@ -135,6 +135,10 @@ static INT WPRINTF_ParseFormatA( LPCSTR format, WPRINTF_FORMAT *res )
|
||||||
case 'u':
|
case 'u':
|
||||||
res->type = WPR_UNSIGNED;
|
res->type = WPR_UNSIGNED;
|
||||||
break;
|
break;
|
||||||
|
case 'p':
|
||||||
|
res->width = 8;
|
||||||
|
res->flags |= WPRINTF_ZEROPAD;
|
||||||
|
/* fall through */
|
||||||
case 'X':
|
case 'X':
|
||||||
res->flags |= WPRINTF_UPPER_HEX;
|
res->flags |= WPRINTF_UPPER_HEX;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
|
@ -207,6 +211,10 @@ static INT WPRINTF_ParseFormatW( LPCWSTR format, WPRINTF_FORMAT *res )
|
||||||
case 'u':
|
case 'u':
|
||||||
res->type = WPR_UNSIGNED;
|
res->type = WPR_UNSIGNED;
|
||||||
break;
|
break;
|
||||||
|
case 'p':
|
||||||
|
res->width = 8;
|
||||||
|
res->flags |= WPRINTF_ZEROPAD;
|
||||||
|
/* fall through */
|
||||||
case 'X':
|
case 'X':
|
||||||
res->flags |= WPRINTF_UPPER_HEX;
|
res->flags |= WPRINTF_UPPER_HEX;
|
||||||
/* fall through */
|
/* fall through */
|
||||||
|
|
Loading…
Reference in New Issue