mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-17 17:08:14 +02:00
Printers, fix typo in selectprinter sample
git-svn-id: trunk@19006 -
This commit is contained in:
parent
d75f823e24
commit
e451ddd26b
@ -88,7 +88,7 @@ var
|
|||||||
Ratio: Double;
|
Ratio: Double;
|
||||||
begin
|
begin
|
||||||
if (AWidth<=0) or (AHeight<=0) then begin
|
if (AWidth<=0) or (AHeight<=0) then begin
|
||||||
if Graphic.Height=0 then
|
if Graphic.Width=0 then
|
||||||
ratio := 1
|
ratio := 1
|
||||||
else
|
else
|
||||||
ratio := Graphic.Height/Graphic.Width;
|
ratio := Graphic.Height/Graphic.Width;
|
||||||
|
Loading…
Reference in New Issue
Block a user