Просмотр исходного кода

tosunits: fix a bug in objc_find

Thorsten Otto 3 лет назад
Родитель
Сommit
d06ab24389
1 измененных файлов с 1 добавлено и 1 удалено
  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_fmx, ob_fmy: smallint): smallint;
 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;
 
 function objc_offset(ob_oftree: AESTreePtr;