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

Diff for /mandoc/term.c between version 1.146 and 1.148

version 1.146, 2010/06/08 15:00:17 version 1.148, 2010/06/19 20:46:28
Line 1 
Line 1 
 /*      $Id$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>   * Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@bsd.lv>
  *   *
  * Permission to use, copy, modify, and distribute this software for any   * Permission to use, copy, modify, and distribute this software for any
  * purpose with or without fee is hereby granted, provided that the above   * purpose with or without fee is hereby granted, provided that the above
Line 603  encode(struct termp *p, const char *word, size_t sz)
Line 603  encode(struct termp *p, const char *word, size_t sz)
          * character by character.           * character by character.
          */           */
   
         if (TERMTYPE_PS == p->type) {          if (TERMFONT_NONE == (f = term_fonttop(p))) {
                 buffera(p, word, sz);  
                 return;  
         } else if (TERMFONT_NONE == (f = term_fonttop(p))) {  
                 buffera(p, word, sz);                  buffera(p, word, sz);
                 return;                  return;
         }          }

Legend:
Removed from v.1.146  
changed lines
  Added in v.1.148

CVSweb