mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 03:40:16 +02:00
Rename IS_PRINTABLE macro to unichar_isprint and move it to utf8.h.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4534 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bd7bc8781b
commit
d3687d8a97
4 changed files with 4 additions and 4 deletions
|
|
@ -451,7 +451,7 @@ static int view_line_draw(TEXT_BUFFER_VIEW_REC *view, LINE_REC *line,
|
|||
|
||||
xpos += char_width;
|
||||
if (xpos <= term_width) {
|
||||
if (IS_PRINTABLE(chr)) {
|
||||
if (unichar_isprint(chr)) {
|
||||
for (; text < end; text++)
|
||||
term_addch(view->window, *text);
|
||||
term_addch(view->window, *text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue