* The last release erroneously made 'X' work like 'x' in visual mode. It now

deletes the character before the cursor again as documented (Bugreport by
  Matthew Fischer).
This commit is contained in:
Gunnar Ritter
2005-01-19 12:27:38 +00:00
parent 3a23482887
commit cd458d267f
3 changed files with 8 additions and 4 deletions

View File

@@ -73,7 +73,7 @@
#ifndef lint
#ifdef DOSCCS
static char sccsid[] = "@(#)ex_voper.c 1.24 (gritter) 1/11/05";
static char sccsid[] = "@(#)ex_voper.c 1.25 (gritter) 1/19/05";
#endif
#endif
@@ -525,7 +525,8 @@ deleteit:
goto errlab;
vmacchng(1);
while (cnt > 0 && !margin()) {
wcursor += skipright(linebuf, wcursor);
wcursor += dir > 0 ? skipright(linebuf, wcursor) :
skipleft(linebuf, wcursor);
cnt--;
}
opf = deleteop;