examples: idehelp: fixed saving options

git-svn-id: trunk@35156 -
This commit is contained in:
mattias 2012-02-05 13:02:20 +00:00
parent 829064a1d5
commit 25ceea4ece

View File

@ -368,9 +368,9 @@ begin
end;
inc(DstIndex);
end;
while DstIndex<=Dest.Count do begin
while Dest.Count>DstIndex do begin
Result:=true;
Dest.Delete(Dest.Count);
Dest.Delete(Dest.Count-1);
end;
end;
@ -896,7 +896,6 @@ end;
procedure TMyFPCKeywordHelpDatabase.SetKeywordToText(AValue: TStrings);
begin
debugln(['TMyFPCKeywordHelpDatabase.SetKeywordToText ']);
if AssignTrimmedStrings(AValue,FKeywordToText) then
Modified:=true;
end;