LCL: Initialize Printer.PageNumber to 0. Issue #37682.

git-svn-id: trunk@64072 -
This commit is contained in:
juha 2020-10-25 08:22:45 +00:00
parent 6ad9a11111
commit 3b84caaf97

View File

@ -376,8 +376,8 @@ begin
Include(fFlags, pfPrinting);
Exclude(fFlags, pfAborted);
fPageNumber := 1;
fPageNumber := 0;
if not RawMode then begin
Canvas.Refresh;
TPrinterCanvas(Canvas).BeginDoc;