aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilberto Morales <wil@Lex.(none)>2014-03-16 06:38:34 -0500
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-04 16:39:49 -0300
commit0f9ca8d7facc05cff2f8aed7f886ae31016d086a (patch)
tree59f0ad2e92786ee38880d1b1d6018daf8b679ce7
parent8943a13d9b5eb834fd25faf16852b23894324e6a (diff)
downloadrneovim-0f9ca8d7facc05cff2f8aed7f886ae31016d086a.tar.gz
rneovim-0f9ca8d7facc05cff2f8aed7f886ae31016d086a.tar.bz2
rneovim-0f9ca8d7facc05cff2f8aed7f886ae31016d086a.zip
Possible string literals that have to be replaced
-rw-r--r--src/ex_cmds2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index a74f7b7d62..93288da2ec 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -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 = '.';