Browse Source

tosunits: fix a bug in objc_find

Thorsten Otto 3 years ago
parent
commit
d06ab24389
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/tosunits/src/gem.pas

+ 1 - 1
packages/tosunits/src/gem.pas

@@ -468,7 +468,7 @@ function objc_find(ob_ftree: AESTreePtr;
 	ob_fstartob, ob_fdepth,
 	ob_fstartob, ob_fdepth,
 	ob_fmx, ob_fmy: smallint): smallint;
 	ob_fmx, ob_fmy: smallint): smallint;
 begin
 begin
-  objc_find:=aes.objc_find(@ob_ftree[0], ob_fstartob, ob_fdepth, ob_fmx, ob_fmx);
+  objc_find:=aes.objc_find(@ob_ftree[0], ob_fstartob, ob_fdepth, ob_fmx, ob_fmy);
 end;
 end;
 
 
 function objc_offset(ob_oftree: AESTreePtr;
 function objc_offset(ob_oftree: AESTreePtr;