summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/roff.c b/roff.c
index 259817d2..d4123375 100644
--- a/roff.c
+++ b/roff.c
@@ -538,8 +538,10 @@ roff_parsetext(char *p)
if (ESCAPE_ERROR == esc)
break;
continue;
- } else if ('-' != *p || p == start)
+ } else if ('-' != *p || p == start) {
+ p++;
continue;
+ }
l = *(p - 1);
r = *(p + 1);