user32/tests: Fix DDE test failures on DBCS machines

Greg Geldorp ggeldorp at vmware.com
Sun Jan 16 08:14:32 CST 2011


Not sure if checking garbage makes much sense. For example, some tests
took the first two bytes of the string "ANSI dde command" and used them as
a single Unicode word (0x4e41). This Unicode word was then mapped back to
ANSI, expecting the mapping to fail and result in a '?'. But when using
DBCS code pages, the mapping would succeed (codepage 936, 0x4e41 gets
mapped to 0x81 0x55).

---
 dlls/user32/tests/dde.c |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)



-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-user32-tests-Fix-DDE-test-failures-on-DBCS-machines.patch
Type: text/x-patch
Size: 3861 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110116/ad64837f/attachment.bin>


More information about the wine-patches mailing list