version 1.146, 2010/06/08 15:00:17 |
version 1.148, 2010/06/19 20:46:28 |
|
|
/* $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; |
} |
} |