diff src/buffer.c @ 1819:15130d4dfea1 v7.2.117

updated for version 7.2-117
author vimboss
date Sat, 21 Feb 2009 23:03:09 +0000
parents 021f9d0f60a1
children 720a59d79bcd
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