diff options
-rw-r--r-- | editors/vi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/vi.c b/editors/vi.c index 55dab1f..75e158c 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) { |