mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 07:30:22 +02:00
IDE: fix crash on project load, if session contains (invalid) multiply (3+) bookmark on the same line. Issue #0018105
git-svn-id: trunk@28648 -
This commit is contained in:
parent
102226c772
commit
e558b5e009
@ -1908,7 +1908,7 @@ begin
|
|||||||
inc(FSetBookmarLock);
|
inc(FSetBookmarLock);
|
||||||
try
|
try
|
||||||
// Adjust bookmarks
|
// Adjust bookmarks
|
||||||
for i := 0 to Bookmarks.Count - 1 do begin
|
for i := Bookmarks.Count - 1 downto 0 do begin
|
||||||
BookmarkID := Bookmarks[i].ID;
|
BookmarkID := Bookmarks[i].ID;
|
||||||
j := Project1.Bookmarks.IndexOfID(BookmarkID);
|
j := Project1.Bookmarks.IndexOfID(BookmarkID);
|
||||||
if (j < 0) then
|
if (j < 0) then
|
||||||
|
Loading…
Reference in New Issue
Block a user