version 1.17, 2002/08/22 23:28:19 |
version 1.18, 2002/08/29 22:45:22 |
|
|
#ifdef NOTAB |
#ifdef NOTAB |
&& !(curbp->b_flag & BFNOTAB) |
&& !(curbp->b_flag & BFNOTAB) |
#endif |
#endif |
) |
) { |
curcol |= 0x07; |
curcol |= 0x07; |
else if (ISCTRL(c) != FALSE) |
curcol++; |
++curcol; |
} else if (ISCTRL(c) != FALSE) |
++curcol; |
curcol += 2; |
|
else if (isprint(c)) |
|
curcol++; |
|
else { |
|
char bf[5]; |
|
|
|
snprintf(bf, sizeof bf, "\\%o", c); |
|
curcol += strlen(bf); |
|
} |
} |
} |
if (curcol >= ncol - 1) { /* extended line. */ |
if (curcol >= ncol - 1) { /* extended line. */ |
/* flag we are extended and changed */ |
/* flag we are extended and changed */ |