version 1.59, 2011/05/29 21:22:18 |
version 1.60, 2011/09/18 20:38:02 |
|
|
adjbuf(p, p->col + 1 + (len * 3)); |
adjbuf(p, p->col + 1 + (len * 3)); |
|
|
for (i = 0; i < len; i++) { |
for (i = 0; i < len; i++) { |
if ( ! isgraph((unsigned char)word[i])) { |
if (ASCII_HYPH != word[i] && |
|
! isgraph((unsigned char)word[i])) { |
p->buf[p->col++] = word[i]; |
p->buf[p->col++] = word[i]; |
continue; |
continue; |
} |
} |
|
|
if (TERMFONT_UNDER == f) |
if (TERMFONT_UNDER == f) |
p->buf[p->col++] = '_'; |
p->buf[p->col++] = '_'; |
|
else if (ASCII_HYPH == word[i]) |
|
p->buf[p->col++] = '-'; |
else |
else |
p->buf[p->col++] = word[i]; |
p->buf[p->col++] = word[i]; |
|
|