msvcrt: printf padzero/leftalign fix
the3dfxdude at gmail.com
Mon Dec 19 16:19:01 CST 2005
There is a problem where PadZero is not ignored when LeftAlign is
true. This caused printing of extra zeroes before and after the
converted type. This updates the logic in pf_fill to ignore PadZero
when LeftAlign is true so it returns correctly formatted without
zeroes to field width. Confirmed with tests on win2k3 and from msdn.
Ignore PadZero when LeftAlign is true in printf conversions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1294 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20051219/9dbcde3b/pf_padzero_leftalign_fix.obj
More information about the wine-patches