user32: correct buffer calculation for GetMenuStringA

Aric Stewart aric at codeweavers.com
Sun Mar 2 23:10:05 CST 2014


strlenW is not a correct way to calculated buffer length because
of multi-byte characters enocdings such as SJIS
---
 dlls/user32/menu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0021-user32-correct-buffer-calculation-for-GetMenuStringA.txt
Type: text/x-patch
Size: 563 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20140303/be0524a8/attachment.bin>


More information about the wine-patches mailing list