From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from localhost (fantadrom.bsd.lv [local]); by fantadrom.bsd.lv (OpenSMTPD) with ESMTPA id 57f52050; for ; Tue, 23 Dec 2014 03:16:24 -0500 (EST) Date: Tue, 23 Dec 2014 03:16:24 -0500 (EST) Message-Id: <14803098629015680136.enqueue@fantadrom.bsd.lv> X-Mailinglist: mdocml-source Reply-To: source@mdocml.bsd.lv MIME-Version: 1.0 From: schwarze@mdocml.bsd.lv To: source@mdocml.bsd.lv Subject: mdocml: even if the second argument to .IP is invalid, don't print it X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 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