summaryrefslogtreecommitdiffstats
path: root/mdoc.3
diff options
context:
space:
mode:
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++;