shell32: in SHNameTranslate use the right part of the string for sizing

Aric Stewart aric at codeweavers.com
Tue Aug 14 14:23:15 CDT 2007


when using MultiByteToWideChar to get the size of the part of the string 
we are translating we should not use the pointer to the end of the 
string instead the pointer to the beginning of the string.

Solves a number of problems with IE in multibyte locales
---
  dlls/shell32/shlfileop.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 675cae124a8a50db6add5df5d2c44c051272ec93.diff
Type: text/x-patch
Size: 639 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070814/3849d087/675cae124a8a50db6add5df5d2c44c051272ec93.bin


More information about the wine-patches mailing list