riched20/tests: fix test for vista

Paul Vriens paul.vriens.wine at gmail.com
Mon Jun 8 12:20:07 CDT 2009


André Hentschel wrote:
> Vista turns the "(WCHAR)1234" into a "(unsigned char)1234".
> This causes error on vista machines<SP2:
> http://test.winehq.org/data/7aeffc442cc1b9a454f1ff7d7b3175b4bba88b05/vista_esx-wvistaadm/riched20:editor.html 
> 
> editor.c:3249: Test failed: EM_GETPASSWORDCHAR returned Ò (210) when set 
> to 'x', instead of x (120)
> ---
>  dlls/riched20/tests/editor.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> 
> 
> ------------------------------------------------------------------------
> 
> 
Hi André,

Is there anything special about this box? Could it be that the locale 
plays a role in this. I'm asking as my Vista box (and several others 
seen on test.winehq.org) doesn't have this issue.

-- 
Cheers,

Paul.



More information about the wine-devel mailing list