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-w32-d44c1535ae0e92ad300cd728783ec9672d662816.tar.gz
busybox-w32-d44c1535ae0e92ad300cd728783ec9672d662816.tar.bz2
busybox-w32-d44c1535ae0e92ad300cd728783ec9672d662816.zip
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)
3698 case 'y': // y- yank something 3698 case 'y': // y- yank something
3699 case 'Y': // Y- Yank a line 3699 case 'Y': // Y- Yank a line
3700#endif 3700#endif
3701 { 3701 {
3702 int yf, ml, whole = 0; 3702 int yf, ml, whole = 0;
3703 yf = YANKDEL; // assume either "c" or "d" 3703 yf = YANKDEL; // assume either "c" or "d"
3704#if ENABLE_FEATURE_VI_YANKMARK 3704#if ENABLE_FEATURE_VI_YANKMARK
@@ -3771,8 +3771,8 @@ static void do_cmd(char c)
3771#endif 3771#endif
3772 end_cmd_q(); // stop adding to q 3772 end_cmd_q(); // stop adding to q
3773 } 3773 }
3774 }
3775 break; 3774 break;
3775 }
3776 case 'k': // k- goto prev line, same col 3776 case 'k': // k- goto prev line, same col
3777 case VI_K_UP: // cursor key Up 3777 case VI_K_UP: // cursor key Up
3778 if (cmdcnt-- > 1) { 3778 if (cmdcnt-- > 1) {