=================================================================== RCS file: /cvs/mandoc/Attic/terminal.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -p -r1.11 -r1.12 --- mandoc/Attic/terminal.c 2009/03/26 16:44:22 1.11 +++ mandoc/Attic/terminal.c 2009/03/26 16:47:13 1.12 @@ -1,4 +1,4 @@ -/* $Id: terminal.c,v 1.11 2009/03/26 16:44:22 kristaps Exp $ */ +/* $Id: terminal.c,v 1.12 2009/03/26 16:47:13 kristaps Exp $ */ /* * Copyright (c) 2008, 2009 Kristaps Dzonsons * @@ -456,7 +456,8 @@ term_pescape(struct termp *p, const char *word, int *i } } else if ('f' == word[*i]) { - if (++(*i) >= len) + (*i)++; + if (*i >= len) return; switch (word[*i]) { case ('B'):