dlls/user32/edit.c -- remove superflous check (RESEND)

Alexandre Julliard julliard at winehq.org
Wed Dec 26 09:07:46 CST 2007


Gerald Pfeifer <gerald at pfeifer.com> writes:

> dwBufLen already indictes that this variable is of type DWORD and
> thus always positive.  I also looked at the implementation of 
> ImmGetCompositionStringW() and we do not seem to return a negative
> value (such as -1).

Maybe the implementation doesn't, but the function returns a LONG, and
can (and probably should) return negative values on error.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list