commit: Fix scroll to bottom of large document bug.


Subject: commit: Fix scroll to bottom of large document bug.
From: Martin Sevior (msevior@mccubbin.ph.unimelb.edu.au)
Date: Thu Jun 07 2001 - 03:19:26 CDT


Fix a bug that prevent a scroll to the bottom of a large document.

A one liner than must been introduced since V 0.7.14 in fl_DocLayout.cpp

Code is now...

                if(pView)
                {
                        iHeight += pView->getPageViewSep() * (count - 1);
                        iHeight += pView->getPageViewTopMargin();
                }

Code used to be:

                if(pView)
                {
                        iHeight += pView->getPageViewSep();
                        iHeight += pView->getPageViewTopMargin();
                }

How that got changed I don't know...

Cheers

Martin

CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: src/text/fmt/xp/fl_DocLayout.cpp
CVS: ----------------------------------------------------------------------



This archive was generated by hypermail 2b25 : Thu Jun 07 2001 - 03:19:44 CDT