[BACK]Return to terminal.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/Attic/terminal.c between version 1.10 and 1.11

version 1.10, 2009/03/26 14:44:41 version 1.11, 2009/03/26 16:44:22
Line 454  term_pescape(struct termp *p, const char *word, int *i
Line 454  term_pescape(struct termp *p, const char *word, int *i
                         term_nescape(p, &word[*i], 1);                          term_nescape(p, &word[*i], 1);
                         return;                          return;
                 }                  }
   
           } else if ('f' == word[*i]) {
                   if (++(*i) >= len)
                           return;
                   switch (word[*i]) {
                   case ('B'):
                           p->flags |= TERMP_BOLD;
                           break;
                   case ('I'):
                           p->flags |= TERMP_UNDER;
                           break;
                   case ('P'):
                           /* FALLTHROUGH */
                   case ('R'):
                           p->flags &= ~TERMP_STYLE;
                           break;
                   default:
                           break;
                   }
                   return;
   
         } else if ('[' != word[*i]) {          } else if ('[' != word[*i]) {
                 term_nescape(p, &word[*i], 1);                  term_nescape(p, &word[*i], 1);

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

CVSweb