diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-11 17:26:22 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-12 12:39:20 +0100 |
commit | 82117da5df93666798b94e4e6e47e11dcb1b4dcd (patch) | |
tree | 94456ff61f62b20cb9c16bc7f111905272782134 /src/nvim/ex_docmd.c | |
parent | c8f0f8fea6e3170db0d68d61dd84f3c3ef9ee77c (diff) | |
download | rneovim-82117da5df93666798b94e4e6e47e11dcb1b4dcd.tar.gz rneovim-82117da5df93666798b94e4e6e47e11dcb1b4dcd.tar.bz2 rneovim-82117da5df93666798b94e4e6e47e11dcb1b4dcd.zip |
tabpage_S: Name tp_localdir per convention.
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 87b6959101..146f1b6df6 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6949,8 +6949,8 @@ void post_chdir(CdScope scope) // Overwrite the local directory of the current tab page for `cd` and `tcd` if (scope >= kCdScopeTab) { - xfree(curtab->localdir); - curtab->localdir = NULL; + xfree(curtab->tp_localdir); + curtab->tp_localdir = NULL; } if (scope < kCdScopeGlobal) { @@ -6970,7 +6970,7 @@ void post_chdir(CdScope scope) case kCdScopeTab: // Remember this local directory for the tab page. if (os_dirname(NameBuff, MAXPATHL) == OK) { - curtab->localdir = vim_strsave(NameBuff); + curtab->tp_localdir = vim_strsave(NameBuff); } break; case kCdScopeWindow: |