summaryrefslogtreecommitdiff
path: root/pith/filter.c
diff options
context:
space:
mode:
Diffstat (limited to 'pith/filter.c')
-rw-r--r--pith/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/filter.c b/pith/filter.c
index 2800a3ba..d22b1215 100644
--- a/pith/filter.c
+++ b/pith/filter.c
@@ -11284,7 +11284,7 @@ gf_local_nvtnl(FILTER_S *f, int flg)
GF_PUTC(f->next, '\015');
GF_PUTC(f->next, '\012');
}
- else
+ else if(c != '\015') /* do not copy isolated \015 into source */
GF_PUTC(f->next, c);
}