1
0
forked from aniani/vim

updated for version 7.0014

This commit is contained in:
Bram Moolenaar
2004-09-02 19:12:26 +00:00
parent 269ec658f0
commit d4755bb0e0
59 changed files with 3091 additions and 1736 deletions

View File

@@ -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