changeset 144:e9d287a403c4

updated for version 7.0046
author vimboss
date Mon, 31 Jan 2005 18:57:18 +0000
parents 8213c903f035
children f310d2061525
files src/window.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/window.c
+++ b/src/window.c
@@ -4775,7 +4775,7 @@ only_one_window()
     win_T	*wp;
 
     for (wp = firstwin; wp != NULL; wp = wp->w_next)
-	if (!(wp->w_buffer->b_help
+	if (!((wp->w_buffer->b_help && !curbuf->b_help)
 # ifdef FEAT_QUICKFIX
 		    || wp->w_p_pvw
 # endif