projects
/
platform
/
upstream
/
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
55dab1f
..
75e158c
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) {