* fix of by one error, makes printing of ranges work properly
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26824 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1101,7 +1101,7 @@ StyledEditWindow::Print(const char* documentName)
|
||||
currentLine++;
|
||||
}
|
||||
if (pagesInDocument == lastPage)
|
||||
lastLine = currentLine;
|
||||
lastLine = currentLine - 1;
|
||||
|
||||
if (currentHeight >= printableRect.Height()) {
|
||||
pagesInDocument++;
|
||||
|
||||
Reference in New Issue
Block a user