Mercurial > vim
changeset 1819:15130d4dfea1 v7.2.117
updated for version 7.2-117
author | vimboss |
---|---|
date | Sat, 21 Feb 2009 23:03:09 +0000 |
parents | bbf0ba46e51d |
children | 484987f8e04c |
files | src/buffer.c src/quickfix.c src/screen.c src/version.c |
diffstat | 4 files changed, 13 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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