diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2007-05-03 15:49:19 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2007-05-03 15:49:19 +0000 |
commit | 7c84b6fc2ed23987e04a812d7ff3d12aadc3a83d (patch) | |
tree | 4e007fbd1e2a224311b566ee069420cd59674520 /src/fe-text/gui-entry.c | |
parent | b8380772e24bdb58a53bbd4c84356477347600d1 (diff) | |
download | irssi-7c84b6fc2ed23987e04a812d7ff3d12aadc3a83d.zip |
Add common IS_PRINTABLE macro.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4474 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/gui-entry.c')
-rw-r--r-- | src/fe-text/gui-entry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/gui-entry.c b/src/fe-text/gui-entry.c index 6c265b51..0c3fce98 100644 --- a/src/fe-text/gui-entry.c +++ b/src/fe-text/gui-entry.c @@ -232,7 +232,7 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos) if (entry->hidden) term_addch(root_window, ' '); - else if (*p >= 32 && (*p < 0x7F || *p > 0x9F)) + else if (IS_PRINTABLE(*p)) term_add_unichar(root_window, *p); else { term_set_color(root_window, ATTR_RESET|ATTR_REVERSE); |