Mercurial > vim
comparison src/ex_getln.c @ 1590:fe3ec5ea62f7 v7.1.303
updated for version 7.1-303
author | vimboss |
---|---|
date | Thu, 29 May 2008 13:36:10 +0000 |
parents | 3a6ba07b3b9f |
children | 9dd62cb57ed5 |
comparison
equal
deleted
inserted
replaced
1589:3a6ba07b3b9f | 1590:fe3ec5ea62f7 |
---|---|
3709 int shell; | 3709 int shell; |
3710 { | 3710 { |
3711 #ifdef BACKSLASH_IN_FILENAME | 3711 #ifdef BACKSLASH_IN_FILENAME |
3712 char_u buf[20]; | 3712 char_u buf[20]; |
3713 int j = 0; | 3713 int j = 0; |
3714 char_u *p; | |
3714 | 3715 |
3715 /* Don't escape '[' and '{' if they are in 'isfname'. */ | 3716 /* Don't escape '[' and '{' if they are in 'isfname'. */ |
3716 for (p = PATH_ESC_CHARS; *p != NUL; ++p) | 3717 for (p = PATH_ESC_CHARS; *p != NUL; ++p) |
3717 if ((*p != '[' && *p != '{') || !vim_isfilec(*p)) | 3718 if ((*p != '[' && *p != '{') || !vim_isfilec(*p)) |
3718 buf[j++] = *p; | 3719 buf[j++] = *p; |