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