riched20: move some selection code from message handler to ME_SetSelection

Alexandre Julliard julliard at winehq.org
Wed Sep 13 04:50:21 CDT 2006


"Matt Finnicum" <mattfinn at gmail.com> writes:

> The special cases handled by EM_EXSETSEL should also be handled by
> EM_SETSEL, so this patch moves that code into the common
> ME_SetSelection function. Before this patch, sending EM_SETSEL with
> any value less than -1 would crash richedit.
>
> Changelog: move some selection code from message handlers to ME_SetSelection

This fails make test:

../../../tools/runtest -q -P wine -M riched20.dll -T ../../.. -p riched20_test.exe.so editor.c && touch editor.ok
editor.c:1335: Test failed: EM_EXSETSEL: expected: 18 actual: 17
make: *** [editor.ok] Error 1

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list