diff -u nano/utils.c nano-andrzej/utils.c --- nano/utils.c Wed Oct 16 22:19:31 2002 +++ nano-andrzej/utils.c Tue Dec 3 18:52:55 2002 @@ -32,10 +32,8 @@ int is_cntrl_char(int c) { - if (iscntrl(c) || ((c & 127) != 127 && iscntrl(c & 127))) - return 1; - else - return 0; + return (-128 <= c && c < -96) || (0 <= c && c < 32) || + (127 <= c && c < 160); } int num_of_digits(int n)