mirror of git://git.sv.gnu.org/nano.git
- winio.c:update_line() - back out check for (realdata[i] < 32) as it will screw high ascii characters
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@932 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
0bb70dcda5
commit
52db7a2c3d
|
@ -6,6 +6,10 @@ CVS code -
|
|||
signal_init()
|
||||
- Unconditionally disable VDSUSP if it exists, stops ^Y
|
||||
suspending nano on the Hurd.
|
||||
- winio.c:
|
||||
update_line()
|
||||
- back out check for (realdata[i] < 32) as it will screw high
|
||||
ascii characters.
|
||||
|
||||
nano-1.1.4 - 12/11/2001
|
||||
- General
|
||||
|
|
2
winio.c
2
winio.c
|
@ -1027,7 +1027,7 @@ void update_line(filestruct * fileptr, int index)
|
|||
virt_cur_x--;
|
||||
if (i < mark_beginx)
|
||||
virt_mark_beginx--;
|
||||
} else if (realdata[i] < 32) {
|
||||
} else if (realdata[i] >= 1 && realdata[i] <= 26) {
|
||||
/* Treat control characters as ^letter */
|
||||
fileptr->data[pos++] = '^';
|
||||
fileptr->data[pos++] = realdata[i] + 64;
|
||||
|
|
Loading…
Reference in New Issue