summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 16:47:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-26 16:47:13 +0000
commitd35a4df90b74e86dceed4d082cc2a2614dd377b6 (patch)
tree5da35ff64a5bb6216d593967bebe753728ffc7da
parent9c76c6d767357bc47b14de643aa304c5dcc7977b (diff)
downloadmandoc-d35a4df90b74e86dceed4d082cc2a2614dd377b6.tar.gz
*** empty log message ***
-rw-r--r--terminal.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/terminal.c b/terminal.c
index 75988eb8..76f25aaa 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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'):