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++;
|
||||
}
|
||||
}
|
||||
if (currentHeight >= printable_rect.Height()) {
|
||||
pagesInDocument++;
|
||||
}
|
||||
if (pagesInDocument - 1 == lastPage) {
|
||||
if (pagesInDocument == lastPage) {
|
||||
lastLine = currentLine;
|
||||
}
|
||||
currentLine++;
|
||||
if (pagesInDocument == firstPage) {
|
||||
firstLine = currentLine;
|
||||
if (currentHeight >= printable_rect.Height()) {
|
||||
pagesInDocument++;
|
||||
if (pagesInDocument == firstPage) {
|
||||
firstLine = currentLine;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user