Skip to content

Commit 4fcfe19

Browse files
committed
WIP
1 parent fc26d29 commit 4fcfe19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Src/DirActions.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,8 +1086,7 @@ int GetColImage(const DIFFITEM &di)
10861086
*/
10871087
void CopyDiffSideAndProperties(CDiffContext& ctxt, DIFFITEM& di, int src, int dst, int action)
10881088
{
1089-
if (di.diffcode.exists(src) &&
1090-
(action != FileActionItem::UI_COPY_DIFFITEMS || di.diffcode.isResultDiff()))
1089+
if (IsItemCopyable(di, src, action == FileActionItem::UI_COPY_DIFFITEMS))
10911090
{
10921091
di.diffcode.diffcode |= (DIFFCODE::FIRST << dst);
10931092
// copy file properties other than ctime

0 commit comments

Comments
 (0)