mirror of
https://github.com/rfivet/uemacs.git
synced 2024-10-01 17:55:55 -04:00
Fix: handle tab size other than 8 in overwrite mode.
This commit is contained in:
parent
893658b3ef
commit
3e27fcf19e
@ -70,7 +70,7 @@ int execute(int c, int f, int n)
|
|||||||
if (curwp->w_bufp->b_mode & MDOVER &&
|
if (curwp->w_bufp->b_mode & MDOVER &&
|
||||||
curwp->w_doto < curwp->w_dotp->l_used &&
|
curwp->w_doto < curwp->w_dotp->l_used &&
|
||||||
(lgetc(curwp->w_dotp, curwp->w_doto) != '\t' ||
|
(lgetc(curwp->w_dotp, curwp->w_doto) != '\t' ||
|
||||||
(curwp->w_doto) % 8 == 7))
|
((curwp->w_doto) & tabmask) == tabmask))
|
||||||
ldelchar(1, FALSE);
|
ldelchar(1, FALSE);
|
||||||
|
|
||||||
/* do the appropriate insertion */
|
/* do the appropriate insertion */
|
||||||
|
Loading…
Reference in New Issue
Block a user