comparison src/fileio.c @ 3340:539613ce999d v7.3.437

updated for version 7.3.437 Problem: Continue looping inside FOR_ALL_TAB_WINDOWS even when already done. Solution: Use goto instead of break. (Hirohito Higashi)
author Bram Moolenaar <bram@vim.org>
date Sat, 11 Feb 2012 23:45:37 +0100
parents df33dba4e553
children bb67cd961fc3
comparison
equal deleted inserted replaced
3339:a5c143237d86 3340:539613ce999d
8896 if (wp == aucmd_win) 8896 if (wp == aucmd_win)
8897 { 8897 {
8898 if (tp != curtab) 8898 if (tp != curtab)
8899 goto_tabpage_tp(tp); 8899 goto_tabpage_tp(tp);
8900 win_goto(aucmd_win); 8900 win_goto(aucmd_win);
8901 break; 8901 goto win_found;
8902 } 8902 }
8903 } 8903 }
8904 } 8904 }
8905 win_found:
8905 8906
8906 /* Remove the window and frame from the tree of frames. */ 8907 /* Remove the window and frame from the tree of frames. */
8907 (void)winframe_remove(curwin, &dummy, NULL); 8908 (void)winframe_remove(curwin, &dummy, NULL);
8908 win_remove(curwin, NULL); 8909 win_remove(curwin, NULL);
8909 aucmd_win_used = FALSE; 8910 aucmd_win_used = FALSE;