fixupdiff: reverse add/del for code snippets
PATCH 1/1 fixupdiff: reverse add/del for code snippets
Turns out added/deleted versions for code snippets were reversed and no one noticed. Fix it up.
Signed-off-by Michael S. Tsirkin <[email protected]>
--- fixupdiff.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
fixupdiff.pl +2 -2
@@ -40,9 +40,9 @@ while (<>) { #also at beginning of line $line =~ s/^(\^)/\\$1/g; if ($add) { - $line =~ s/(.*)/\$\\DIFdel\{$1\}\$/; - } else { $line =~ s/(.*)/\$\\DIFadd\{$1\}\$/; + } else { + $line =~ s/(.*)/\$\\DIFdel\{$1\}\$/; } } #print "%FIXED BY RULE 1\n";
Signature · 7 lines
MST --------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. Follow this link to all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php