[Bug 794] New: - WINPROC_UnmapMsg32ATo32W returns incorrect value for WM_GETTEXTLENGTH
wine-bugs at winehq.com
wine-bugs at winehq.com
Fri Jun 14 04:34:13 CDT 2002
http://bugs.winehq.com/show_bug.cgi?id=794
Summary: WINPROC_UnmapMsg32ATo32W returns incorrect value for
WM_GETTEXTLENGTH
Product: Wine
Version: CVS
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: wine-gui
AssignedTo: wine-bugs at winehq.com
ReportedBy: winebugzilla at sun.consumer.org.il
When unmapping WM_GETTEXTLENGTH, the result is quite simply doubled to account
for cases where an MBCS character will take two bytes. This yeilds incorrect
results most of the time.
We need to do either one of:
A. Make sure this unmapping is unnecessary (almost always a result of internal
A->W conversions).
or
B. Perform internal messaging to find out what the number should really be.
The problem is that at the time of processing the WM_GETTEXTLENGTH, the function
has no way of actually knowing the real length, as it doesn't have the actual
string.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://bugs.winehq.com/show_bug.cgi?id=794>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
More information about the wine-bugs
mailing list