diff src/ex_cmds.c @ 6234:78aad99db762 v7.4.452

updated for version 7.4.452 Problem: Can't build with tiny features. (Tony Mechelynck) Solution: Use "return" instead of "break".
author Bram Moolenaar <bram@vim.org>
date Fri, 19 Sep 2014 22:05:53 +0200
parents cb5480096f1b
children c72eb8499a9d
line wrap: on
line diff
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5900,7 +5900,7 @@ erret:
 }
 
 /*
- * ":helpclose": Close the help window
+ * ":helpclose": Close one help window
  */
     void
 ex_helpclose(eap)
@@ -5913,7 +5913,7 @@ ex_helpclose(eap)
 	if (win->w_buffer->b_help)
 	{
 	    win_close(win, FALSE);
-	    break;
+	    return;
 	}
     }
 }