summaryrefslogtreecommitdiffstats
path: root/mdoc.3
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-01-07 19:10:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-01-07 19:10:09 +0000
commit7afc7a8f7b4b8163976d661f989bd6a4733e2b89 (patch)
tree4ba73349fc9f0c688241db947abced9c1a95d600 /mdoc.3
parentad3053cbf11882fc2478adedbd82aadb0b6f9ca9 (diff)
downloadmandoc-7afc7a8f7b4b8163976d661f989bd6a4733e2b89.tar.gz
Fix white-space issues found by mandoc's better white-space finder.
Fixed bogus `\\' escapes in some manuals.
Diffstat (limited to 'mdoc.3')
-rw-r--r--mdoc.32
1 files changed, 1 insertions, 1 deletions
diff --git a/mdoc.3 b/mdoc.3
index 5d715225..3b4cfa67 100644
--- a/mdoc.3
+++ b/mdoc.3
@@ -274,7 +274,7 @@ line = 1;
mdoc = mdoc_alloc(NULL, 0, NULL);
while ((buf = fgetln(fp, &len))) {
- buf[len - 1] = '\\0';
+ buf[len - 1] = '\e0';
if ( ! mdoc_parseln(mdoc, line, buf))
errx(1, "mdoc_parseln");
line++;