codetools: fixed crash on FreeListOfPCodeXYPosition, IDE: fixed spelling mistake

git-svn-id: trunk@13436 -
This commit is contained in:
mattias 2007-12-23 11:14:06 +00:00
parent d6b44baddd
commit c126253698
2 changed files with 6 additions and 6 deletions

View File

@ -1405,7 +1405,7 @@ end;
procedure TCodeToolManager.FreeListOfPCodeXYPosition(var List: TFPList);
begin
if List<>nil then begin
FreeListOfPCodeXYPosition(List);
CodeAtom.FreeListOfPCodeXYPosition(List);
List:=nil;
end;
end;

View File

@ -2950,12 +2950,12 @@ end;
procedure TMainIDE.DoToggleViewComponentPalette;
var
ComponentPalleteVisible: boolean;
ComponentPaletteVisible: boolean;
begin
ComponentPalleteVisible:=not MainIDEBar.ComponentNotebook.Visible;
MainIDEBar.itmViewComponentPalette.Checked:=ComponentPalleteVisible;
MainIDEBar.ComponentNotebook.Visible:=ComponentPalleteVisible;
EnvironmentOptions.ComponentPaletteVisible:=ComponentPalleteVisible;
ComponentPaletteVisible:=not MainIDEBar.ComponentNotebook.Visible;
MainIDEBar.itmViewComponentPalette.Checked:=ComponentPaletteVisible;
MainIDEBar.ComponentNotebook.Visible:=ComponentPaletteVisible;
EnvironmentOptions.ComponentPaletteVisible:=ComponentPaletteVisible;
end;
procedure TMainIDE.DoToggleViewIDESpeedButtons;