mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-23 08:56:01 +02:00
* Micro-optimization. Fix issue #39617
This commit is contained in:
parent
2f28c5596f
commit
2a19e152b7
@ -1476,6 +1476,8 @@ Var
|
|||||||
Obj : TObject;
|
Obj : TObject;
|
||||||
Str : String;
|
Str : String;
|
||||||
begin
|
begin
|
||||||
|
if (CurIndex=NewIndex) then
|
||||||
|
Exit;
|
||||||
BeginUpdate;
|
BeginUpdate;
|
||||||
Try
|
Try
|
||||||
Obj:=Objects[CurIndex];
|
Obj:=Objects[CurIndex];
|
||||||
|
Loading…
Reference in New Issue
Block a user