}
rettv->vval.v_number = 1; /* FAIL */
- if (line == NULL || lnum < 1 || lnum > curbuf->b_ml.ml_line_count + 1)
+ if (line == NULL || lnum > curbuf->b_ml.ml_line_count + 1)
break;
/* When coming here from Insert mode, sync undo, so that this can be
if (balloonEval != NULL)
general_beval_cb(balloonEval, 0);
}
- else if (this_due > 0 && (next_due == -1 || next_due > this_due))
+ else if (next_due == -1 || next_due > this_due)
next_due = this_due;
}
#endif
/* If the crypt layer is buffering, not producing
* anything yet, need to read more. */
- if (size > 0 && decrypted_size == 0)
+ if (decrypted_size == 0)
continue;
if (linerest == 0)
mapblock_T *mp;
int hash;
# ifdef FEAT_LOCALMAP
- int expand_buffer = FALSE;
+ int exp_buffer = FALSE;
validate_maphash();
if (hash > 0) /* there is only one abbr list */
break;
#ifdef FEAT_LOCALMAP
- if (expand_buffer)
+ if (exp_buffer)
mp = curbuf->b_first_abbr;
else
#endif
mp = first_abbr;
}
# ifdef FEAT_LOCALMAP
- else if (expand_buffer)
+ else if (exp_buffer)
mp = curbuf->b_maphash[hash];
# endif
else
}
}
# ifdef FEAT_LOCALMAP
- if (expand_buffer)
+ if (exp_buffer)
break;
- expand_buffer = TRUE;
+ exp_buffer = TRUE;
}
# endif
end_visual_mode();
}
}
- else if (c1 < 0)
+ else
{
tabpage_T *tp;
/* no character available within "wtime" */
return 0;
- if (wtime < 0)
+ else
{
/* no character available within 'updatetime' */
did_start_blocking = TRUE;
goto again;
}
- if (do_include || r < 1)
+ if (do_include)
{
/* Include up to the '>'. */
while (*ml_get_cursor() != '>')
return 0;
}
-#ifdef FEAT_GUI
+#if defined(FEAT_GUI) || defined(PROTO)
int
term_is_gui(char_u *name)
{
winpos_x = prev_winpos_x;
winpos_y = prev_winpos_y;
- if (timeout < 10 && prev_winpos_y >= 0 && prev_winpos_y >= 0)
+ if (timeout < 10 && prev_winpos_y >= 0 && prev_winpos_x >= 0)
{
/* Polling: return previous values if we have them. */
*x = winpos_x;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1753,
/**/
1752,
/**/