aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/arglist.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-08-26 23:11:25 +0200
committerdundargoc <gocdundar@gmail.com>2022-09-10 11:17:40 +0200
commit684bc749efef0fa31395d349f4495d79ec5f3fd5 (patch)
tree2f20ecdf42e443e48ac981d204c316449aa87821 /src/nvim/arglist.c
parent82d93429e78b661027c05f3fbc862aa0e0c6cd95 (diff)
downloadrneovim-684bc749efef0fa31395d349f4495d79ec5f3fd5.tar.gz
rneovim-684bc749efef0fa31395d349f4495d79ec5f3fd5.tar.bz2
rneovim-684bc749efef0fa31395d349f4495d79ec5f3fd5.zip
refactor: replace char_u with char
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/arglist.c')
-rw-r--r--src/nvim/arglist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/arglist.c b/src/nvim/arglist.c
index 0000636417..02e3a99aab 100644
--- a/src/nvim/arglist.c
+++ b/src/nvim/arglist.c
@@ -633,7 +633,7 @@ void ex_argdedupe(exarg_T *eap FUNC_ATTR_UNUSED)
{
for (int i = 0; i < ARGCOUNT; i++) {
for (int j = i + 1; j < ARGCOUNT; j++) {
- if (FNAMECMP(ARGLIST[i].ae_fname, ARGLIST[j].ae_fname) == 0) {
+ if (path_fnamecmp(ARGLIST[i].ae_fname, ARGLIST[j].ae_fname) == 0) {
xfree(ARGLIST[j].ae_fname);
memmove(ARGLIST + j, ARGLIST + j + 1,
(size_t)(ARGCOUNT - j - 1) * sizeof(aentry_T));