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:
Emanuele Giaquinta 2007-05-31 13:19:05 +00:00 committed by exg
commit d3687d8a97
4 changed files with 4 additions and 4 deletions

View file

@ -257,7 +257,7 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos)
if (entry->hidden)
term_addch(root_window, ' ');
else if (IS_PRINTABLE(*p))
else if (unichar_isprint(*p))
term_add_unichar(root_window, *p);
else {
term_set_color(root_window, ATTR_RESET|ATTR_REVERSE);