* mdocml: even if the second argument to .IP is invalid, don't print it
@ 2014-12-23 8:16 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-12-23 8:16 UTC (permalink / raw)
To: source
Log Message:
-----------
even if the second argument to .IP is invalid, don't print it
Modified Files:
--------------
mdocml:
man_term.c
Revision Data
-------------
Index: man_term.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/man_term.c,v
retrieving revision 1.160
retrieving revision 1.161
diff -Lman_term.c -Lman_term.c -u -p -r1.160 -r1.161
--- man_term.c
+++ man_term.c
@@ -633,11 +633,10 @@ pre_IP(DECL_ARGS)
p->offset = mt->offset;
p->rmargin = mt->offset + len;
- if (ival < 0)
- break;
/* Set the saved left-margin. */
- mt->lmargin[mt->lmargincur] = (size_t)ival;
+ if (ival >= 0)
+ mt->lmargin[mt->lmargincur] = (size_t)ival;
savelit = MANT_LITERAL & mt->fl;
mt->fl &= ~MANT_LITERAL;
--
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:[~2014-12-23 8:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-23 8:16 mdocml: even if the second argument to .IP is invalid, don't print it schwarze
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).