richedit: (9/8) EM_POSFROMCHAR tests
Alex Villacís Lasso
a_villacis at palosanto.com
Mon Jun 23 12:53:34 CDT 2008
Alex Villacís Lasso escribió:
> Found while debugging #13864 . While it does not solve the bug, it is
> worthwhile to get this out of the way.
>
> EM_POSFROMCHAR can return the position of the requested character
> through either a pointer to a POINTL through wParam, or through the
> result value. When using the pointer method, native returns 0, builtin
> returns MAKELONG(x,y) (just like the return method). Builtin should
> choose one or the other, but not both at the same time.
>
> Changelog:
> * When returning position through wParam pointer, EM_POSFROMCHAR must
> return 0 as LRESULT.
> * Add tests for EM_POSFROMCHAR for 1.0 and 2.0.
>
> ------------------------------------------------------------------------
>
>
Was there something wrong with this patch?
--
perl -e '$x=2.4;print sprintf("%.0f + %.0f = %.0f\n",$x,$x,$x+$x);'
More information about the wine-devel
mailing list