From nakama at ki.rim.or.jp  Mon Dec  8 05:13:43 2003
From: nakama at ki.rim.or.jp (nakama@ki.rim.or.jp)
Date: Mon Dec  8 05:12:35 2003
Subject: [Rd] rgui transpose-chars problem (PR#5593)
Message-ID: <20031208041343.E9C53ED8F@slim.kubism.ku.dk>

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;


[Rd] rgui transpose-chars problem (PR#5593)
nakama@ki.rim.or.jp