summaryrefslogtreecommitdiffstats
path: root/vi/vim-7.2/7.2.117
blob: 4c4e66a09f2e089d4d7715907dcd14604e7ab8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
To: vim-dev@vim.org
Subject: Patch 7.2.117
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
------------

Patch 7.2.117
Problem:    Location list incorrectly labelled "Quickfix List".
Solution:   Break out of both loops for finding window for location list
            buffer. (Lech Lorens)
Files:      src/buffer.c, src/quickfix.c, src/screen.c


*** ../vim-7.2.116/src/buffer.c	Tue Jan  6 16:13:42 2009
--- src/buffer.c	Tue Feb 17 04:00:51 2009
***************
*** 5098,5104 ****
  	 */
  	FOR_ALL_TAB_WINDOWS(tp, win)
  	    if (win->w_buffer == buf)
! 		break;
  	if (win != NULL && win->w_llist_ref != NULL)
  	    return _("[Location List]");
  	else
--- 5098,5105 ----
  	 */
  	FOR_ALL_TAB_WINDOWS(tp, win)
  	    if (win->w_buffer == buf)
! 		goto win_found;
! win_found:
  	if (win != NULL && win->w_llist_ref != NULL)
  	    return _("[Location List]");
  	else
*** ../vim-7.2.116/src/quickfix.c	Sat Nov 15 14:10:23 2008
--- src/quickfix.c	Sat Feb 21 22:54:25 2009
***************
*** 1610,1619 ****
  		{
  		    goto_tabpage_win(tp, wp);
  		    usable_win = 1;
! 		    break;
  		}
  	    }
  	}
  
  	/*
  	 * If there is only one window and it is the quickfix window, create a
--- 1612,1622 ----
  		{
  		    goto_tabpage_win(tp, wp);
  		    usable_win = 1;
! 		    goto win_found;
  		}
  	    }
  	}
+ win_found:
  
  	/*
  	 * If there is only one window and it is the quickfix window, create a
*** ../vim-7.2.116/src/screen.c	Sat Feb 21 21:22:44 2009
--- src/screen.c	Sat Feb 21 21:04:19 2009
***************
*** 7452,7461 ****
  	{
  	    outofmem = TRUE;
  #ifdef FEAT_WINDOWS
! 	    break;
  #endif
  	}
      }
  
  #ifdef FEAT_MBYTE
      for (i = 0; i < p_mco; ++i)
--- 7452,7464 ----
  	{
  	    outofmem = TRUE;
  #ifdef FEAT_WINDOWS
! 	    goto give_up;
  #endif
  	}
      }
+ #ifdef FEAT_WINDOWS
+ give_up:
+ #endif
  
  #ifdef FEAT_MBYTE
      for (i = 0; i < p_mco; ++i)
*** ../vim-7.2.116/src/version.c	Sat Feb 21 22:57:10 2009
--- src/version.c	Sat Feb 21 23:58:24 2009
***************
*** 678,679 ****
--- 678,681 ----
  {   /* Add new patch number below this line */
+ /**/
+     117,
  /**/

-- 
Laughing helps. It's like jogging on the inside.

 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///