Problem: Redundant check for w_lines_valid.
Solution: Remove the if. (Lech Lorens)
{
int i;
- if (win->w_lines_valid > 0)
- for (i = 0; i < win->w_lines_valid; ++i)
- if (win->w_lines[i].wl_valid)
- {
- if (lnum < win->w_lines[i].wl_lnum)
- return -1;
- if (lnum <= win->w_lines[i].wl_lastlnum)
- return i;
- }
+ for (i = 0; i < win->w_lines_valid; ++i)
+ if (win->w_lines[i].wl_valid)
+ {
+ if (lnum < win->w_lines[i].wl_lnum)
+ return -1;
+ if (lnum <= win->w_lines[i].wl_lastlnum)
+ return i;
+ }
return -1;
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 397,
/**/
396,
/**/