mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
updated for version 7.0111
This commit is contained in:
parent
fd6e52886b
commit
84fb85aaf6
@ -2009,7 +2009,7 @@ ins_compl_add_infercase(str, len, fname, dir, reuse)
|
||||
}
|
||||
|
||||
/* Copy the original case of the part we typed */
|
||||
vim_strncpy(IObuff, original_text, completion_length);
|
||||
STRNCPY(IObuff, original_text, completion_length);
|
||||
|
||||
return ins_compl_add(IObuff, len, fname, dir, reuse);
|
||||
}
|
||||
|
@ -1700,7 +1700,7 @@ get_syntax_attr(col, can_spell)
|
||||
return 0;
|
||||
|
||||
/* After 'synmaxcol' the attribute is always zero. */
|
||||
if (syn_buf->b_p_smc > 0 && col >= syn_buf->b_p_smc)
|
||||
if (syn_buf->b_p_smc > 0 && col >= (colnr_T)syn_buf->b_p_smc)
|
||||
{
|
||||
clear_current_state();
|
||||
#ifdef FEAT_EVAL
|
||||
|
Loading…
x
Reference in New Issue
Block a user