]> git.pld-linux.org Git - packages/vim.git/blame - 7.0.220
- missing patch
[packages/vim.git] / 7.0.220
CommitLineData
468bf62c
AM
1To: vim-dev@vim.org
2Subject: patch 7.0.220
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.0.220
11Problem: Crash when using winnr('#') in a new tab page. (Andy Wokula)
12Solution: Check for not finding the window.
13Files: src/eval.c
14
15
16*** ../vim-7.0.219/src/eval.c Tue Feb 20 03:18:20 2007
17--- src/eval.c Sun Mar 25 17:43:53 2007
18***************
19*** 15769,15775 ****
20--- 15769,15783 ----
21 if (nr > 0)
22 for (wp = (tp == curtab) ? firstwin : tp->tp_firstwin;
23 wp != twin; wp = wp->w_next)
24+ {
25+ if (wp == NULL)
26+ {
27+ /* didn't find it in this tabpage */
28+ nr = 0;
29+ break;
30+ }
31 ++nr;
32+ }
33 return nr;
34 }
35 #endif
36*** ../vim-7.0.219/src/version.c Sun Mar 18 21:52:09 2007
37--- src/version.c Sun Mar 25 17:48:20 2007
38***************
39*** 668,669 ****
40--- 668,671 ----
41 { /* Add new patch number below this line */
42+ /**/
43+ 220,
44 /**/
45
46--
47Men may not be seen publicly in any kind of strapless gown.
48 [real standing law in Florida, United States of America]
49
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52\\\ download, build and distribute -- http://www.A-A-P.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.045842 seconds and 4 git commands to generate.