Printers, fix typo in selectprinter sample

git-svn-id: trunk@19006 -
This commit is contained in:
jesus 2009-03-16 05:29:02 +00:00
parent d75f823e24
commit e451ddd26b

View File

@ -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;