[PATCH 1/2] user32: Fix return value of EDIT_EM_Scroll. (try 2)

Alexandre Julliard julliard at winehq.org
Wed Mar 3 05:53:26 CST 2010


David Hedberg <david.hedberg at gmail.com> writes:

> Brings the return value in line with msdn and test results.
>
> This time without the skips. Return values other than 0 are somewhat
> unlikely, but strictly speaking only one value is wrong (and important
> for the tests here).

I wouldn't expect it to ever return something other than 0 here, but
even if it does there are many other possible wrong values. It's better
to make the test as strict as you can to catch more potential problems,
rather than limiting yourself to the specific value that you
encountered.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list