diff options
-rw-r--r-- | NEWS | 4 | ||||
-rw-r--r-- | mdoc_validate.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -59,8 +59,8 @@ Changes in version 1.14.4, released on August XXX, 2018 on diagnostic messages and on the documentation. * Thomas Klausner (NetBSD) for suggesting two new style messages, one new feature, and for two bug reports. - * Leah Neukirchen (Void Linux) for suggesting a new style message - and for two bug reports. + * Leah Neukirchen (Void Linux) for suggesting a new style message, + four bug reports, and release testing. * Anthony Bentley (OpenBSD) for reporting multiple bugs and missing features. * Paul Irofti (OpenBSD) and Nate Bargmann for suggesting new features. diff --git a/mdoc_validate.c b/mdoc_validate.c index 05d78391..5ab5f3ae 100644 --- a/mdoc_validate.c +++ b/mdoc_validate.c @@ -440,7 +440,7 @@ check_text_em(struct roff_man *mdoc, int ln, int pos, char *p) np->string != '\0' && isalpha((unsigned char)np->string[ strlen(np->string) - 1])) || - (cp[2] != '\0' ? + (cp[1] != '\0' && cp[2] != '\0' ? isalpha((unsigned char)cp[2]) : nn != NULL && nn->type == ROFFT_TEXT && |