[RESEND] regedit: Convert from WCHAR size to maximum required TCHAR size.

Byeong-Sik Jeon wjsqudtlr at gmail.com
Tue Apr 3 20:36:25 CDT 2007


In MBCS( ex. CJK locale),
This is wrong RegQueryInfoKey + RegEnumKeyEx, RegEnumValue functioin use.

Multibyte string of "IDS_NEWKEY, IDS_NEWVALUE" makes this problem.


Changelog:
    Convert from WCHAR size to maximum required TCHAR size.
---
 programs/regedit/listview.c |    3 +++
 programs/regedit/treeview.c |    2 ++
 2 files changed, 5 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7f6f5c46500dc3942afaecd3ed39f3fa432103d2.diff
Type: text/x-patch
Size: 1701 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070404/0a652c35/7f6f5c46500dc3942afaecd3ed39f3fa432103d2.bin


More information about the wine-patches mailing list