[Rd] rgui transpose-chars problem (PR#5593)
nakama at ki.rim.or.jp
nakama at ki.rim.or.jp
Mon Dec 8 05:13:43 MET 2003
Full_Name: Eiji Nakama
Version: 1.8.1
OS: Windows2000(Japan)
Submission from: (NULL) (219.117.236.13)
I type typo sl().
cursole move `l` position moved.
type C-t not change.
It operated in rterm.
--- src/gnuwin32/console.c.orig
+++ src/gnuwin32/console.c
case CHARTRANS:
- if(cur_pos < 2) break;
+ if(cur_pos < 1) break;
+ if(cur_pos >= max_pos) break;
cur_char = cur_line[cur_pos];
cur_line[cur_pos] = cur_line[cur_pos-1];
cur_line[cur_pos-1] = cur_char;
break;
More information about the R-devel
mailing list