Re: Top Ruler patch


Subject: Re: Top Ruler patch
From: Joaquín Cuenca Abela (cuenca@ie2.u-psud.fr)
Date: Thu May 18 2000 - 12:07:09 CDT


Alexey Sintutin wrote:
>
> Hello!
>
> Here is a patch preventing motion of the page margins marks out of a page.
>
> Bye, Alexey.

There are any reasons to do

        if (m_draggingCenter - xAbsLeft + iIndentShift < 0)
        {
            m_draggingCenter = xAbsLeft - iIndentShift;
        }

instead of the more compact

m_draggingCenter = UT_MIN(m_draggingCenter, xAbsLeft - iIndentShift);

?

--
Joaquín Cuenca Abela
e-mail: cuenca@ie2.u-psud.fr



This archive was generated by hypermail 2b25 : Thu May 18 2000 - 12:07:22 CDT