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

2008-02-19 Thread Gerald Pfeifer
A second one which Marcus ended up reinventing, but at least the underlying problem is solved now. :-/ Gerald On Wed, 26 Dec 2007, Gerald Pfeifer wrote: Okay. In that case, to account for possible future enhancements of ImmGetCompositionStringW(), we'll need a patch like the following. The

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

2007-12-26 Thread Alexandre Julliard
Gerald Pfeifer [EMAIL PROTECTED] 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,

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

2007-12-26 Thread Gerald Pfeifer
On Wed, 26 Dec 2007, Alexandre Julliard wrote: 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