updated for version 7.0014
diff --git a/src/misc1.c b/src/misc1.c
index 8a2d19e..9558cc5 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -2168,7 +2168,7 @@
 #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 @@
     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