forked from aniani/vim
updated for version 7.0014
This commit is contained in:
@@ -2168,7 +2168,7 @@ del_bytes(count, fixpos)
|
||||
#ifdef FEAT_MBYTE
|
||||
/* If 'delcombine' is set and deleting (less than) one character, only
|
||||
* delete the last combining character. */
|
||||
if (p_deco && enc_utf8 && (*mb_ptr2len_check)(oldp + col) <= count)
|
||||
if (p_deco && enc_utf8 && utfc_ptr2len_check(oldp + col) >= count)
|
||||
{
|
||||
int c1, c2;
|
||||
int n;
|
||||
@@ -3321,7 +3321,11 @@ expand_env_esc(src, dst, dstlen, esc)
|
||||
while (*src && dstlen > 0)
|
||||
{
|
||||
copy_char = TRUE;
|
||||
if (*src == '$'
|
||||
if ((*src == '$'
|
||||
#ifdef VMS
|
||||
&& at_start
|
||||
#endif
|
||||
)
|
||||
#if defined(MSDOS) || defined(MSWIN) || defined(OS2)
|
||||
|| *src == '%'
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user