Skip to content

Commit

Permalink
Fix vim-patch:7.4.689
Browse files Browse the repository at this point in the history
  • Loading branch information
equalsraf committed May 27, 2016
1 parent dc31b95 commit ab61e6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nvim/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ int main(int argc, char **argv)
command_line_scan(&params);

if (GARGCOUNT > 0)
fname = get_fname(&params);
fname = get_fname(&params, cwd);

TIME_MSG("expanding arguments");

Expand Down Expand Up @@ -1191,7 +1191,7 @@ static void check_and_set_isatty(mparm_T *paramp)
/*
* Get filename from command line, given that there is one.
*/
static char_u *get_fname(mparm_T *parmp)
static char_u *get_fname(mparm_T *parmp, char_u *cwd)
{
#if !defined(UNIX)
/*
Expand Down

0 comments on commit ab61e6a

Please sign in to comment.