diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c index 38967eed35..14dd89e26d 100644 --- a/src/main.c +++ b/src/main.c @@ -1426,8 +1426,8 @@ scripterror: /* Add the file to the global argument list. */ - if (ga_grow(&global_alist.al_ga, 1) == FAIL - || (p = vim_strsave((char_u *)argv[0])) == NULL) + ga_grow(&global_alist.al_ga, 1); + if ((p = vim_strsave((char_u *)argv[0])) == NULL) mch_exit(2); if (parmp->diff_mode && os_isdir(p) && GARGCOUNT > 0 && !os_isdir(alist_name(&GARGLIST[0]))) { |