däs isch ei buul, koa int…

This commit is contained in:
tg
2008-09-30 17:49:26 +00:00
parent 8f5eda8859
commit f53a8196e4
5 changed files with 14 additions and 14 deletions

6
edit.c
View File

@ -5,7 +5,7 @@
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.132 2008/09/30 17:23:00 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/edit.c,v 1.133 2008/09/30 17:49:24 tg Exp $");
/* tty driver characters we are interested in */
typedef struct {
@ -3155,7 +3155,7 @@ x_edit_line(int c __unused)
if (modified) {
*xep = '\0';
source->line++;
histsave(source->line, xbuf, 1);
histsave(source->line, xbuf, true);
x_arg = 0;
} else
x_arg = source->line - (histptr - x_histp);
@ -4366,7 +4366,7 @@ vi_cmd(int argcnt, const char *cmd)
if (modified) {
es->cbuf[es->linelen] = '\0';
source->line++;
histsave(source->line, es->cbuf, 1);
histsave(source->line, es->cbuf, true);
} else
argcnt = source->line + 1
- (hlast - hnum);