libwine: vsnprintfW should support Microsoft-specific prefixes for strings

Andrey Turkin andrey.turkin at gmail.com
Sun Jan 4 19:52:13 CST 2009


Native vsnprintf support such specifiers as %ls or %hs or %S. Wine implementation was ignoring width specifiers for
strings until commit 9428dfe71a83c175108b8a936db5768f5d6558c8 (libwine: Fix vsnprintfW string formatting to handle
alignment and padding), which caused regression for "%ls" format string. This patch add support for Microsoft-specific
width specifiers and type specifiers %S and %C.
---
 libs/wine/string.c |   37 ++++++++++++++++++++++++-------------
 1 files changed, 24 insertions(+), 13 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 75800f0edc8ae2473aa8044f58735aeed662f0de.diff
Type: text/x-patch
Size: 3487 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090105/2b64a2e2/attachment.bin 


More information about the wine-patches mailing list