Ticket #1668: viewer-printable_only.patch
File viewer-printable_only.patch, 478 bytes (added by gotar, 15 years ago) |
---|
-
src/tty/tty-slang.c
diff -urNp mc-4.7.0-pre4.orig/src/tty/tty-slang.c mc-4.7.0-pre4/src/tty/tty-slang.c
old new tty_print_anychar (int c) 565 565 } 566 566 SLsmg_write_string ((char *) str_term_form (str)); 567 567 } else { 568 if (!is_printable (c)) 569 c = '.'; 568 570 SLsmg_write_char ((SLwchar_Type) ((unsigned int) c)); 569 571 } 570 572 }