aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2014-12-23 12:12:16 +0100
committerFlorian Walch <florian@fwalch.com>2014-12-23 16:14:24 +0100
commitc4e0cd4418f5f6699d341446e791d05f9406a6bc (patch)
treedbbd3ba5706c6bdad35ab6e979deb25e8f96429e
parent1e17904eb2fbb33070125dec9c3b06df06655b25 (diff)
downloadrneovim-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
-rw-r--r--src/nvim/ex_cmds.c4
-rw-r--r--src/nvim/version.c2
2 files changed, 3 insertions, 3 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;
}
}
}
diff --git a/src/nvim/version.c b/src/nvim/version.c
index 586400e5de..2324104d4f 100644
--- a/src/nvim/version.c
+++ b/src/nvim/version.c
@@ -285,7 +285,7 @@ static int included_patches[] = {
455,
454,
//453 NA
- //452,
+ 452,
//451,
//450,
449,