* [virtio] [PATCH] fixupdiff: reverse add/del for code snippets
@ 2022-04-20 17:15 Michael S. Tsirkin
0 siblings, 0 replies; only message in thread
From: Michael S. Tsirkin @ 2022-04-20 17:15 UTC (permalink / raw)
To: virtio-comment, virtio-dev; +Cc: virtio
Turns out added/deleted versions for code snippets
were reversed and no one noticed. Fix it up.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
fixupdiff.pl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fixupdiff.pl b/fixupdiff.pl
index e7d3a0f..1c6b8e2 100644
--- a/fixupdiff.pl
+++ b/fixupdiff.pl
@@ -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";
--
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-20 17:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-20 17:15 [virtio] [PATCH] fixupdiff: reverse add/del for code snippets Michael S. Tsirkin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox