Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Jan 21, 2025
1 parent fc26d29 commit 4fcfe19
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Src/DirActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1086,8 +1086,7 @@ int GetColImage(const DIFFITEM &di)
*/
void CopyDiffSideAndProperties(CDiffContext& ctxt, DIFFITEM& di, int src, int dst, int action)
{
if (di.diffcode.exists(src) &&
(action != FileActionItem::UI_COPY_DIFFITEMS || di.diffcode.isResultDiff()))
if (IsItemCopyable(di, src, action == FileActionItem::UI_COPY_DIFFITEMS))
{
di.diffcode.diffcode |= (DIFFCODE::FIRST << dst);
// copy file properties other than ctime
Expand Down

0 comments on commit 4fcfe19

Please sign in to comment.