mirror of
https://github.com/tildeclub/ex-vi.git
synced 2026-06-23 12:19:24 +00:00
* Pressing the ^U (kill) character in insert mode sometimes positioned the
cursor at weird locations since the last revision (P).
This commit is contained in:
@@ -73,7 +73,7 @@
|
||||
|
||||
#ifndef lint
|
||||
#ifdef DOSCCS
|
||||
static char sccsid[] = "@(#)ex_subr.c 1.33 (gritter) 1/12/05";
|
||||
static char sccsid[] = "@(#)ex_subr.c 1.34 (gritter) 1/13/05";
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -636,7 +636,11 @@ qcolumn(register char *lim, register char *gp)
|
||||
Outchar = qcount;
|
||||
vcntcol = 0;
|
||||
if (lim != NULL) {
|
||||
n = skipright(linebuf, lim);
|
||||
if (lim < linebuf) {
|
||||
lim = linebuf;
|
||||
n = 0;
|
||||
} else
|
||||
n = skipright(linebuf, lim);
|
||||
x = lim[n], lim[n] = 0;
|
||||
}
|
||||
pline(0);
|
||||
|
||||
Reference in New Issue
Block a user