source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Fixed my breaking of Ingo's eoln-whitespace detection code,
@ 2010-05-31 21:32 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-05-31 21:32 UTC (permalink / raw)
  To: source

Log Message:
-----------
Fixed my breaking of Ingo's eoln-whitespace detection code, where a
hyphen wasn't resetting the fact of being whitespace.  Noted by Jason
McIntyre.

Modified Files:
--------------
    mdocml:
        mdoc.c

Revision Data
-------------
Index: mdoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc.c,v
retrieving revision 1.144
retrieving revision 1.145
diff -Lmdoc.c -Lmdoc.c -u -p -r1.144 -r1.145
--- mdoc.c
+++ mdoc.c
@@ -595,6 +595,7 @@ mdoc_ptext(struct mdoc *m, int line, cha
 		case '-':
 			if (mandoc_hyph(buf + offs, c))
 				*c = ASCII_HYPH;
+			ws = NULL;
 			break;
 		case ' ':
 			if (NULL == ws)
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-31 21:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-31 21:32 mdocml: Fixed my breaking of Ingo's eoln-whitespace detection code, kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).