mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 423345: Use mIsCreatingPrintPreview, not mIsDoingPrintPreview, to check if we're setting up a print-preview page. r+sr=vlad a=blocking1.9+
This commit is contained in:
parent
9e7d833654
commit
e70fa35d2a
@ -1727,7 +1727,7 @@ nsPrintEngine::SetupToPrintContent()
|
||||
rv = mPrt->mPrintDC->BeginDocument(docTitleStr, fileName, startPage, endPage);
|
||||
}
|
||||
|
||||
if (mIsDoingPrintPreview) {
|
||||
if (mIsCreatingPrintPreview) {
|
||||
// Print Preview -- Pass ownership of docTitleStr and docURLStr
|
||||
// to the pageSequenceFrame, to be displayed in the header
|
||||
nsIPageSequenceFrame *seqFrame = nsnull;
|
||||
|
Loading…
Reference in New Issue
Block a user