Changeset 181 for trunk/Core.pas
- Timestamp:
- Aug 27, 2024, 10:50:23 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Core.pas
r177 r181 277 277 if ModalResult = mrYes then begin 278 278 {$IFDEF WINDOWS} 279 ExecuteProgram('explorer.exe', ['"' + SelectDirectoryDialog1.FileName + '"'] );279 ExecuteProgram('explorer.exe', ['"' + SelectDirectoryDialog1.FileName + '"'], []); 280 280 {$ENDIF} 281 281 {$IFDEF UNIX} … … 681 681 Diffuse = '/usr/bin/diffuse'; 682 682 BeyondCompareLin = '/usr/bin/bcompare'; 683 BeyondCompareWin = 'c:\Program Files\Beyond Compare 4\BCompare.exe'; 683 BeyondCompareWin3 = 'c:\Program Files\Beyond Compare 3\BCompare.exe'; 684 BeyondCompareWin4 = 'c:\Program Files\Beyond Compare 4\BCompare.exe'; 685 BeyondCompareWin5 = 'c:\Program Files\Beyond Compare 5\BCompare.exe'; 684 686 begin 685 687 if FileExists(KDiff3) then Result := KDiff3 … … 688 690 else if FileExists(Diffuse) then Result := Diffuse 689 691 else if FileExists(BeyondCompareLin) then Result := BeyondCompareLin 690 else if FileExists(BeyondCompareWin) then Result := BeyondCompareWin 692 else if FileExists(BeyondCompareWin5) then Result := BeyondCompareWin5 693 else if FileExists(BeyondCompareWin4) then Result := BeyondCompareWin4 694 else if FileExists(BeyondCompareWin3) then Result := BeyondCompareWin3 691 695 else Result := ''; 692 696 end; … … 720 724 {$IFOPT D+} 721 725 ATest.Enabled := True; 722 AFileCompare.Enabled := True;723 726 {$ENDIF} 724 727 {$IFOPT D-} 725 728 ATest.Enabled := False; 726 AFileCompare.Enabled := False;727 729 {$ENDIF} 728 730 ATest.Visible := ATest.Enabled;
Note:
See TracChangeset
for help on using the changeset viewer.