diff --git a/Source/Simba.res b/Source/Simba.res index 592a11284..91474e050 100644 Binary files a/Source/Simba.res and b/Source/Simba.res differ diff --git a/Source/array/simba.array_point.pas b/Source/array/simba.array_point.pas index 440e7293c..75e51a468 100644 --- a/Source/array/simba.array_point.pas +++ b/Source/array/simba.array_point.pas @@ -2707,7 +2707,7 @@ function TPointArrayHelper.Median: TPoint; Mid := Length(Self) div 2; - if (Mid mod 2) = 0 then + if (Length(Self) mod 2) = 0 then begin Result.X := X[Mid]; Result.Y := Y[Mid]; diff --git a/Third-Party/lape b/Third-Party/lape index 2a086e38d..df63d7a28 160000 --- a/Third-Party/lape +++ b/Third-Party/lape @@ -1 +1 @@ -Subproject commit 2a086e38d14064040d856ebb53544e6cf29a847b +Subproject commit df63d7a28a99c0fd5b3d003a6c15877df5cefc1a