Ignore:
Timestamp:
Dec 18, 2017, 10:13:15 PM (6 years ago)
Author:
chronos
Message:
  • Fixed: Build under Lazarus 1.8.0.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UMainForm.pas

    r9 r13  
    3232    ADownload: TAction;
    3333    ActionList1: TActionList;
    34     Bevel1: TBevel;
    35     Button1: TButton;
    36     Button2: TButton;
    37     Button3: TButton;
    38     Button4: TButton;
    39     Button5: TButton;
    40     Button7: TButton;
    41     Options: TButton;
    42     ButtonEdit: TButton;
    43     Button6: TButton;
     34    ImageListLarge: TImageList;
     35    ImageListSmall: TImageList;
     36    MainMenu1: TMainMenu;
     37    MenuItem10: TMenuItem;
     38    MenuItem7: TMenuItem;
    4439    Label1: TLabel;
    4540    ListView1: TListView;
     
    5045    MenuItem5: TMenuItem;
    5146    MenuItem6: TMenuItem;
     47    MenuItem9: TMenuItem;
    5248    PopupMenu1: TPopupMenu;
     49    ToolBar1: TToolBar;
     50    ToolButton1: TToolButton;
     51    ToolButton2: TToolButton;
     52    ToolButton3: TToolButton;
     53    ToolButton4: TToolButton;
     54    ToolButton5: TToolButton;
     55    ToolButton6: TToolButton;
     56    ToolButton7: TToolButton;
    5357    procedure AAddExecute(Sender: TObject);
    5458    procedure ACompileExecute(Sender: TObject);
     
    177181    if ListView1.Selected.Index < Instances.Count then
    178182    with TInstance(Instances[ListView1.Selected.Index]) do begin
    179       ForceDirectoriesUTF8(GetPath);
     183      ForceDirectories(GetPath);
    180184      if Assigned(FPCSource) then begin
    181185        FPCSource.Download;
     
    247251    ADownload.Enabled := not Downloaded;
    248252    AStart.Enabled := Downloaded and Compiled and Assigned(IDESource) and
    249       FileExistsUTF8(GetPath + DirectorySeparator +
     253      FileExists(GetPath + DirectorySeparator +
    250254      IDESource.ProjectShortName + DirectorySeparator + IDESource.GetExecutableFile);
    251255    ARemove.Enabled := True;
     
    278282  Child: TDOMNode;
    279283begin
    280   if FileExistsUTF8(ConfigFileName) then
     284  if FileExists(ConfigFileName) then
    281285  try
    282286    ReadXMLFile(Doc, UTF8Decode(ConfigFileName));
     
    510514  {$ENDIF}
    511515  {$IFDEF Linux}
    512   Result := '/usr/lib/fpc/2.4.0/ppc386';
     516  Result := '/usr/lib/fpc/2.6.2/ppcx64';
    513517  {$ENDIF}
    514518end;
     
    524528  {$ENDIF}
    525529  {$IFDEF Linux}
    526   if FileExistsUTF8('yum') then begin
     530  if FileExists('yum') then begin
    527531  end else
    528   if FileExistsUTF8('apt-get') then begin
     532  if FileExists('apt-get') then begin
    529533  (* sudo apt-get install -y subversion
    530534    sudo apt-get install -y cvs
Note: See TracChangeset for help on using the changeset viewer.