Make the page only 5x instead of 100x to get around linux region bug.

This is for printing and helps fix.  b=82624 r=rods sr=attinasi a=asa
This commit is contained in:
dcone%netscape.com 2001-06-13 20:16:10 +00:00
Родитель b1b8579ed4
Коммит 2d1789e9a5
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -2785,7 +2785,7 @@ DocumentViewerImpl::ReflowPrintObject(PrintObject * aPO)
// but reflow somethimes gets upset when using max int
// basically, we want to reflow a single page that is large
// enough to fit any atomic object like an IFrame
const PRInt32 kHundredPagesHigh = 100;
const PRInt32 kHundredPagesHigh = 5;
// now, change the value for special cases
if (mPrt->mPrintFrameType == nsIPrintOptions::kEachFrameSep) {

Просмотреть файл

@ -2785,7 +2785,7 @@ DocumentViewerImpl::ReflowPrintObject(PrintObject * aPO)
// but reflow somethimes gets upset when using max int
// basically, we want to reflow a single page that is large
// enough to fit any atomic object like an IFrame
const PRInt32 kHundredPagesHigh = 100;
const PRInt32 kHundredPagesHigh = 5;
// now, change the value for special cases
if (mPrt->mPrintFrameType == nsIPrintOptions::kEachFrameSep) {