[PATCH 1/2] user32: Add tests for MapWindowPoints, ClientToScreen and ScreenToClient.

Alexandre Julliard julliard at winehq.org
Fri Nov 9 07:27:18 CST 2012


Christian Costa <titan.costa at gmail.com> writes:

> 2012/11/9 Alexandre Julliard <julliard at winehq.org>
>     Testing last error on success is not useful. Also please use
>     MAKELONG
>     and related macros instead of doing it by hand.
>
> I can't use LOWORD as the signed bit is not propagated with & 0xffff.

You could always add a cast, but you don't really need it here. Printing
fancy error messages is not useful anyway, they are not supposed to
happen.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list