version 1.355, 2018/03/16 15:05:44 |
version 1.356, 2018/03/16 20:41:41 |
Line 412 check_text_em(struct roff_man *mdoc, int ln, int pos, |
|
Line 412 check_text_em(struct roff_man *mdoc, int ln, int pos, |
|
/* Look for em-dashes wrongly encoded as "--". */ |
/* Look for em-dashes wrongly encoded as "--". */ |
|
|
for (cp = p; *cp != '\0'; cp++) { |
for (cp = p; *cp != '\0'; cp++) { |
if (*cp != '-' || *++cp != '-') |
if (cp[0] != '-' || cp[1] != '-') |
continue; |
continue; |
|
cp++; |
|
|
/* Skip input sequences of more than two '-'. */ |
/* Skip input sequences of more than two '-'. */ |
|
|