print selected pages working better now
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4104 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1098,15 +1098,14 @@ StyledEditWindow::Print(const char *documentname)
|
|||||||
currentLine++;
|
currentLine++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (currentHeight >= printable_rect.Height()) {
|
if (pagesInDocument == lastPage) {
|
||||||
pagesInDocument++;
|
|
||||||
}
|
|
||||||
if (pagesInDocument - 1 == lastPage) {
|
|
||||||
lastLine = currentLine;
|
lastLine = currentLine;
|
||||||
}
|
}
|
||||||
currentLine++;
|
if (currentHeight >= printable_rect.Height()) {
|
||||||
if (pagesInDocument == firstPage) {
|
pagesInDocument++;
|
||||||
firstLine = currentLine;
|
if (pagesInDocument == firstPage) {
|
||||||
|
firstLine = currentLine;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user