From aff5ce1ef08e098b7748008680cdf1fc60486fb6 Mon Sep 17 00:00:00 2001 From: vincents Date: Tue, 20 Sep 2005 10:00:24 +0000 Subject: [PATCH] fixed access violation when freeing the environment options git-svn-id: trunk@7753 - --- ide/environmentopts.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ide/environmentopts.pp b/ide/environmentopts.pp index 488a7e4f0b..2cb516937b 100644 --- a/ide/environmentopts.pp +++ b/ide/environmentopts.pp @@ -2431,7 +2431,7 @@ begin PascalFileExtension:=petPAS; //lazdoc - LazDocPathList := LazDocListBox.Items; + LazDocPathList.Assign(LazDocListBox.Items); CharcaseFileAction := TCharCaseFileAction(CharcaseFileActionRadioGroup.ItemIndex); AmbiguousFileAction := TAmbiguousFileAction(AmbiguousFileActionRadioGroup.ItemIndex);