The same is in 1.2.x CVS at a different offset.
Garst
"R. Lahaye" wrote:
> 
> Hi,
> 
> In xforms_helpers.C, there is the following in function formatted():
> 
>         string::size_type const nxtpos1 = sin.find(' ',  curpos);
>         string::size_type const nxtpos2 = sin.find('\n', curpos);
>         string::size_type const nxtpos = std::min(nxtpos1, nxtpos1);
> 
> The last line looks suspicious to me. The minimum of the same integers
> is most probably a typo. I suppose it should be "std::min(nxtpos1, nxtpos2)".
> 
> If so, attached patch fixes that.


Reply via email to