mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 13:19:20 +02:00
Debugger: fix crash in GetUniqueName
This commit is contained in:
parent
9ee8d9dc76
commit
bf105af56c
@ -529,7 +529,7 @@ begin
|
|||||||
repeat
|
repeat
|
||||||
inc(i);
|
inc(i);
|
||||||
j := FCopiedDbgPropertiesConfigList.IndexOf(Result+' ('+IntToStr(i)+')');
|
j := FCopiedDbgPropertiesConfigList.IndexOf(Result+' ('+IntToStr(i)+')');
|
||||||
if (j >= 0) and (FCopiedDbgPropertiesConfigList.Opt[i]= FSelectedDbgPropertiesConfig)
|
if (j >= 0) and (FCopiedDbgPropertiesConfigList.Opt[j]= FSelectedDbgPropertiesConfig)
|
||||||
then
|
then
|
||||||
j := -1;
|
j := -1;
|
||||||
until j < 0;
|
until j < 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user