Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Jan 20, 2025
1 parent b527722 commit f8aa6e4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Src/DirActions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,13 @@ void CopyDiffSideAndProperties(CDiffContext& ctxt, DIFFITEM& di, int src, int ds
di.diffFileInfo[dst].flags = di.diffFileInfo[src].flags;
}
if (di.HasChildren())
UpdateStatusFromDisk(ctxt, di, dst);
{
for (DIFFITEM* pdic = di.GetFirstChild(); pdic; pdic = pdic->GetFwdSiblingLink())
{
CopyDiffSideAndProperties(ctxt, *pdic, src, dst);
UpdateStatusFromDisk(ctxt, di, dst);
}
}
}

/**
Expand Down
2 changes: 1 addition & 1 deletion Src/DirActions.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ struct DirActions
{
if (IsItemIdenticalOrSkipped(*pdi))
return true;
pdi->GetFwdSiblingLink();
pdi = pdi->GetFwdSiblingLink();
}
return false;
}
Expand Down

0 comments on commit f8aa6e4

Please sign in to comment.