mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 05:38:16 +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;
|
||||
begin
|
||||
if (AWidth<=0) or (AHeight<=0) then begin
|
||||
if Graphic.Height=0 then
|
||||
if Graphic.Width=0 then
|
||||
ratio := 1
|
||||
else
|
||||
ratio := Graphic.Height/Graphic.Width;
|
||||
|
Loading…
Reference in New Issue
Block a user