Possible string literals that have to be replaced

This commit is contained in:
Wilberto Morales 2014-03-16 06:38:34 -05:00 committed by Thiago de Arruda
parent 8943a13d9b
commit 0f9ca8d7fa

View File

@ -2522,8 +2522,8 @@ do_source (
*/
p = path_tail(fname_exp);
if ((*p == '.' || *p == '_')
&& (STRICMP(p + 1, "vimrc") == 0
|| STRICMP(p + 1, "gvimrc") == 0
&& (STRICMP(p + 1, "nvimrc") == 0
|| STRICMP(p + 1, "ngvimrc") == 0
|| STRICMP(p + 1, "exrc") == 0)) {
if (*p == '_')
*p = '.';