aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-10-14 12:59:42 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-10-14 12:59:42 +0000
commitd44c1535ae0e92ad300cd728783ec9672d662816 (patch)
tree7c9c92f5b255ee803cf2927a501eb64de1501c63
parentddc8ae30030eed34f5606c787c50c1d7369de554 (diff)
downloadbusybox-d44c1535ae0e92ad300cd728783ec9672d662816.tar.gz
vi: fix bizarre formatting. no code changes
-rw-r--r--editors/vi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c
index 55dab1f03..75e158cfc 100644
--- 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) {