mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 20:40:36 +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);
|
||||
try
|
||||
// Adjust bookmarks
|
||||
for i := 0 to Bookmarks.Count - 1 do begin
|
||||
for i := Bookmarks.Count - 1 downto 0 do begin
|
||||
BookmarkID := Bookmarks[i].ID;
|
||||
j := Project1.Bookmarks.IndexOfID(BookmarkID);
|
||||
if (j < 0) then
|
||||
|
Loading…
Reference in New Issue
Block a user