Mercurial > vim
comparison src/misc1.c @ 1341:2ae2dd2591fa v7.1.055
updated for version 7.1-055
author | vimboss |
---|---|
date | Mon, 06 Aug 2007 20:28:43 +0000 |
parents | b8ebbfa519b9 |
children | 17a83c0532e8 |
comparison
equal
deleted
inserted
replaced
1340:8e42199f5121 | 1341:2ae2dd2591fa |
---|---|
8633 /* Remove backslashes between "wildoff" and the start of the wildcard | 8633 /* Remove backslashes between "wildoff" and the start of the wildcard |
8634 * component. */ | 8634 * component. */ |
8635 for (p = buf + wildoff; p < s; ++p) | 8635 for (p = buf + wildoff; p < s; ++p) |
8636 if (rem_backslash(p)) | 8636 if (rem_backslash(p)) |
8637 { | 8637 { |
8638 STRCPY(p, p + 1); | 8638 mch_memmove(p, p + 1, STRLEN(p)); |
8639 --e; | 8639 --e; |
8640 --s; | 8640 --s; |
8641 } | 8641 } |
8642 | 8642 |
8643 /* Check for "**" between "s" and "e". */ | 8643 /* Check for "**" between "s" and "e". */ |
8934 /* Remove backslashes between "wildoff" and the start of the wildcard | 8934 /* Remove backslashes between "wildoff" and the start of the wildcard |
8935 * component. */ | 8935 * component. */ |
8936 for (p = buf + wildoff; p < s; ++p) | 8936 for (p = buf + wildoff; p < s; ++p) |
8937 if (rem_backslash(p)) | 8937 if (rem_backslash(p)) |
8938 { | 8938 { |
8939 STRCPY(p, p + 1); | 8939 mch_memmove(p, p + 1, STRLEN(p)); |
8940 --e; | 8940 --e; |
8941 --s; | 8941 --s; |
8942 } | 8942 } |
8943 | 8943 |
8944 /* Check for "**" between "s" and "e". */ | 8944 /* Check for "**" between "s" and "e". */ |