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); procedure TCodeToolManager.FreeListOfPCodeXYPosition(var List: TFPList);
begin begin
if List<>nil then begin if List<>nil then begin
FreeListOfPCodeXYPosition(List); CodeAtom.FreeListOfPCodeXYPosition(List);
List:=nil; List:=nil;
end; end;
end; end;

View File

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