Changeset 153 for trunk/Forms/FormCompare.pas
- Timestamp:
- Jun 6, 2023, 9:46:08 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormCompare.pas
r152 r153 44 44 uses 45 45 Core, FormCompareSideBySide, VCardProcessor; 46 47 resourcestring 48 SCompareToolNotFound = 'Compare tool ''%s'' not found. Select valid compare tool in the application settings.'; 46 49 47 50 { TFormCompare } … … 150 153 SaveStringToFile(TextLeft, TempFileLeft); 151 154 SaveStringToFile(TextRight, TempFileRight); 152 ExecuteProgram(Core.Core.CompareTool, [TempFileLeft, TempFileRight]); 155 if FileExists(Core.Core.CompareTool) then 156 ExecuteProgram(Core.Core.CompareTool, [TempFileLeft, TempFileRight]) 157 else ShowMessage(Format(SCompareToolNotFound, [Core.Core.CompareTool])); 153 158 end; 154 159 155 160 procedure TFormCompare.CompareExternal; 156 161 begin 157 CompareText(LeftVCard.VCard.AsString, RightVCard.V card.AsString,162 CompareText(LeftVCard.VCard.AsString, RightVCard.VCard.AsString, 158 163 ExtractFileName(LeftVCard.FileName), ExtractFileName(EditAnotherFile.Text)); 159 164 end;
Note:
See TracChangeset
for help on using the changeset viewer.