Skip to content

Commit

Permalink
Improve line filters and substitution filters (#2032) (5)
Browse files Browse the repository at this point in the history
  • Loading branch information
sdottaka committed Oct 5, 2023
1 parent 054cabf commit ca60d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Src/DiffWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -506,6 +506,8 @@ int CDiffWrapper::PostFilter(PostFilterContext& ctxt, change* thisob, const file
change* script = diff_2_buffers_xdiff(
lineDataLeft.c_str(), lineDataLeft.length(),
lineDataRight.c_str(), lineDataRight.length(), m_xdlFlags);
if (!script)
return 0;

auto TranslateLineNumbers = [](change* thisob, change* script)
{
Expand Down

0 comments on commit ca60d7c

Please sign in to comment.