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