summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_term.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/man_term.c b/man_term.c
index e7b6a71d..a85f00fe 100644
--- a/man_term.c
+++ b/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;