diff options
author | Tim Kientzle <kientzle@gmail.com> | 2009-04-13 17:54:42 -0400 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2009-04-13 17:54:42 -0400 |
commit | 3be929e4aa8f88677a77bb3d597fd60e4344311c (patch) | |
tree | 8ffe06835930c28eccb794bcfbb4b7a1b1a34235 /doc | |
parent | 47bc4f73b59b846a759e6f0686ce2e1482f02db0 (diff) | |
download | libarchive-3be929e4aa8f88677a77bb3d597fd60e4344311c.tar.gz |
Fix the translation of .Ns, which suppresses the current word space, not the next one.
SVN-Revision: 984
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/mdoc2wiki.awk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/mdoc2wiki.awk b/doc/mdoc2wiki.awk index 54a97903..3f6cf22e 100755 --- a/doc/mdoc2wiki.awk +++ b/doc/mdoc2wiki.awk @@ -167,8 +167,8 @@ function splitwords(l, dest, n, o, w) { } else if(match(words[w],"^Ed$")) { # End display displaylines = 0 dispend() - } else if(match(words[w],"^Ns$")) { # Suppress space after next word - nextsep = "" + } else if(match(words[w],"^Ns$")) { # Suppress space before next word + sep="" } else if(match(words[w],"^No$")) { # Normal text add(words[++w]) } else if(match(words[w],"^Dq$")) { # Quote |