# HG changeset patch # User vimboss # Date 1235257389 0 # Node ID 15130d4dfea14898029686b72536f54197a73062 # Parent bbf0ba46e51d5a4e58b872b840c5dc3e1ca44234 updated for version 7.2-117 diff --git a/src/buffer.c b/src/buffer.c --- a/src/buffer.c +++ b/src/buffer.c @@ -5098,7 +5098,8 @@ buf_spname(buf) */ FOR_ALL_TAB_WINDOWS(tp, win) if (win->w_buffer == buf) - break; + goto win_found; +win_found: if (win != NULL && win->w_llist_ref != NULL) return _("[Location List]"); else diff --git a/src/quickfix.c b/src/quickfix.c --- a/src/quickfix.c +++ b/src/quickfix.c @@ -1610,10 +1610,11 @@ qf_jump(qi, dir, errornr, forceit) { goto_tabpage_win(tp, wp); usable_win = 1; - break; + goto win_found; } } } +win_found: /* * If there is only one window and it is the quickfix window, create a diff --git a/src/screen.c b/src/screen.c --- a/src/screen.c +++ b/src/screen.c @@ -7452,10 +7452,13 @@ screenalloc(clear) { outofmem = TRUE; #ifdef FEAT_WINDOWS - break; -#endif - } - } + goto give_up; +#endif + } + } +#ifdef FEAT_WINDOWS +give_up: +#endif #ifdef FEAT_MBYTE for (i = 0; i < p_mco; ++i) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -677,6 +677,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 117, +/**/ 116, /**/ 115,