4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Redundant check for w_lines_valid.
12 Solution: Remove the if. (Lech Lorens)
16 *** ../vim-7.2.396/src/fold.c 2010-02-24 14:34:10.000000000 +0100
17 --- src/fold.c 2010-03-17 13:03:00.000000000 +0100
23 ! if (win->w_lines_valid > 0)
24 ! for (i = 0; i < win->w_lines_valid; ++i)
25 ! if (win->w_lines[i].wl_valid)
27 ! if (lnum < win->w_lines[i].wl_lnum)
29 ! if (lnum <= win->w_lines[i].wl_lastlnum)
39 ! for (i = 0; i < win->w_lines_valid; ++i)
40 ! if (win->w_lines[i].wl_valid)
42 ! if (lnum < win->w_lines[i].wl_lnum)
44 ! if (lnum <= win->w_lines[i].wl_lastlnum)
50 *** ../vim-7.2.396/src/version.c 2010-03-17 14:47:56.000000000 +0100
51 --- src/version.c 2010-03-17 16:43:34.000000000 +0100
55 { /* Add new patch number below this line */
61 Did you ever stop to think... and forget to start again?
64 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
65 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
66 \\\ download, build and distribute -- http://www.A-A-P.org ///
67 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///