mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix vim-patch:7.4.689
This commit is contained in:
parent
25ec29d4e1
commit
11ecd20387
@ -251,8 +251,9 @@ int main(int argc, char **argv)
|
|||||||
*/
|
*/
|
||||||
command_line_scan(¶ms);
|
command_line_scan(¶ms);
|
||||||
|
|
||||||
if (GARGCOUNT > 0)
|
if (GARGCOUNT > 0) {
|
||||||
fname = get_fname(¶ms);
|
fname = get_fname(¶ms, cwd);
|
||||||
|
}
|
||||||
|
|
||||||
TIME_MSG("expanding arguments");
|
TIME_MSG("expanding arguments");
|
||||||
|
|
||||||
@ -1196,7 +1197,7 @@ static void check_and_set_isatty(mparm_T *paramp)
|
|||||||
/*
|
/*
|
||||||
* Get filename from command line, given that there is one.
|
* 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)
|
#if !defined(UNIX)
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user