0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.1-055

This commit is contained in:
Bram Moolenaar
2007-08-06 20:28:43 +00:00
parent a064ac8501
commit 452a81b413
8 changed files with 14 additions and 11 deletions

View File

@@ -6637,9 +6637,9 @@ regtilde(source, magic)
}
}
else if (magic)
STRCPY(p, p + 1); /* remove '~' */
mch_memmove(p, p + 1, STRLEN(p)); /* remove '~' */
else
STRCPY(p, p + 2); /* remove '\~' */
mch_memmove(p, p + 2, STRLEN(p) - 1); /* remove '\~' */
--p;
}
else