diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-26 16:47:13 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-03-26 16:47:13 +0000 |
commit | d35a4df90b74e86dceed4d082cc2a2614dd377b6 (patch) | |
tree | 5da35ff64a5bb6216d593967bebe753728ffc7da | |
parent | 9c76c6d767357bc47b14de643aa304c5dcc7977b (diff) | |
download | mandoc-d35a4df90b74e86dceed4d082cc2a2614dd377b6.tar.gz |
*** empty log message ***
-rw-r--r-- | terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -456,7 +456,8 @@ term_pescape(struct termp *p, const char *word, int *i, int len) } } else if ('f' == word[*i]) { - if (++(*i) >= len) + (*i)++; + if (*i >= len) return; switch (word[*i]) { case ('B'): |