FIX: False positives when synchronizing directories with zero-length files (issue #163)

This commit is contained in:
Alexander Koblov 2021-08-27 20:11:21 +03:00
commit f585d79444

View file

@ -1100,7 +1100,8 @@ procedure TfrmSyncDirsDlg.FillFoundItemsDG;
if Assigned(r.FFileL) and not Assigned(r.FFileR) then Inc(FuniqueL) else
if Assigned(r.FFileR) and not Assigned(r.FFileL) then Inc(FuniqueR);
if r.FState = srsEqual then Inc(Fequal) else
if r.FState = srsNotEq then Inc(Fnoneq);
if r.FState = srsNotEq then Inc(Fnoneq) else
if Assigned(r.FFileL) and Assigned(r.FFileR) then Inc(Fnoneq);
end;
end;
end;