From d06ab24389054cd342b82275168d5e9d8ee200ee Mon Sep 17 00:00:00 2001 From: Thorsten Otto Date: Tue, 8 Feb 2022 14:49:50 +0100 Subject: [PATCH] tosunits: fix a bug in objc_find --- packages/tosunits/src/gem.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/tosunits/src/gem.pas b/packages/tosunits/src/gem.pas index cb40216b75..50b146fa51 100644 --- a/packages/tosunits/src/gem.pas +++ b/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;