projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddc8ae3
)
vi: fix bizarre formatting. no code changes
author
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 14 Oct 2008 12:59:42 +0000
(12:59 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Tue, 14 Oct 2008 12:59:42 +0000
(12:59 -0000)
editors/vi.c
patch
|
blob
|
history
diff --git
a/editors/vi.c
b/editors/vi.c
index 55dab1f03ed9b7d49dbdc844e5bd1194ef1c4ea4..75e158cfc5caa2000fb47120217b30c57bcf218b 100644
(file)
--- a/
editors/vi.c
+++ b/
editors/vi.c
@@
-3698,7
+3698,7
@@
static void do_cmd(char c)
case 'y': // y- yank something
case 'Y': // Y- Yank a line
#endif
-
{
+ {
int yf, ml, whole = 0;
yf = YANKDEL; // assume either "c" or "d"
#if ENABLE_FEATURE_VI_YANKMARK
@@
-3771,8
+3771,8
@@
static void do_cmd(char c)
#endif
end_cmd_q(); // stop adding to q
}
- }
break;
+ }
case 'k': // k- goto prev line, same col
case VI_K_UP: // cursor key Up
if (cmdcnt-- > 1) {