diff options
author | Florian Walch <florian@fwalch.com> | 2014-12-23 12:12:16 +0100 |
---|---|---|
committer | Florian Walch <florian@fwalch.com> | 2014-12-23 16:14:24 +0100 |
commit | c4e0cd4418f5f6699d341446e791d05f9406a6bc (patch) | |
tree | dbbd3ba5706c6bdad35ab6e979deb25e8f96429e /src/nvim/ex_cmds.c | |
parent | 1e17904eb2fbb33070125dec9c3b06df06655b25 (diff) | |
download | rneovim-c4e0cd4418f5f6699d341446e791d05f9406a6bc.tar.gz rneovim-c4e0cd4418f5f6699d341446e791d05f9406a6bc.tar.bz2 rneovim-c4e0cd4418f5f6699d341446e791d05f9406a6bc.zip |
vim-patch:7.4.452
Problem: Can't build with tiny features. (Tony Mechelynck)
Solution: Use "return" instead of "break".
https://code.google.com/p/vim/source/detail?r=v7-4-452
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index 1880cfeb78..3278de3561 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -5645,14 +5645,14 @@ static sign_T *first_sign = NULL; static int next_sign_typenr = 1; /* - * ":helpclose": Close the help window + * ":helpclose": Close one help window */ void ex_helpclose(exarg_T *eap) { FOR_ALL_WINDOWS_IN_TAB(win, curtab) { if (win->w_buffer->b_help) { win_close(win, FALSE); - break; + return; } } } |