1
0
Fork 0
mirror of https://github.com/vbatts/bvi.git synced 2025-08-02 15:40:28 +00:00

git ls-files | xargs sed -i 's/[ \t]*$//'

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-03-02 10:29:56 -05:00
parent 5ab3ef5609
commit 92a88a4b4b
18 changed files with 64 additions and 64 deletions

16
bvi.c
View file

@ -2,7 +2,7 @@
*
* 1996-02-28 V 1.0.0
* 1999-01-27 V 1.1.0
* 1999-04-22 V 1.1.1
* 1999-04-22 V 1.1.1
* 1999-07-01 V 1.2.0 beta
* 1999-10-22 V 1.2.0 final
* 2000-05-10 V 1.3.0 alpha
@ -310,7 +310,7 @@ main(argc, argv)
if (*cmdstr != '\0')
docmdline(cmdstr);
msg(fname_buf);
/* main loop */
do {
setjmp(env);
@ -491,9 +491,9 @@ main(argc, argv)
break;
case ';': do_ft(0, 0);
break;
case 'F':
case 'f':
case 't':
case 'F':
case 'f':
case 't':
case 'T': do_ft(ch, 0);
break;
case 'G': last_motion = current;
@ -501,10 +501,10 @@ main(argc, argv)
if ((precount < P(P_OF)) ||
(precount - P(P_OF)) > (filesize - 1L)) {
beep();
} else {
} else {
setpage((PTR)(mem + precount - P(P_OF)));
}
} else {
} else {
setpage((PTR)(mem + filesize - 1L));
}
break;
@ -1033,7 +1033,7 @@ range(ch)
- (off_t)P(P_OF)) > (filesize - 1L)) {
beep();
return 0;
} else {
} else {
if (mem + count < current) {
return(mem + count - current);
} else {