aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/runtime.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-08-29 12:50:22 +0200
committerGitHub <noreply@github.com>2022-08-29 12:50:22 +0200
commit5fe6bde296569e275a0b83d497a54611f73c410a (patch)
tree51931728be1890c53597595aeec0826b12b74202 /src/nvim/runtime.c
parentf05cc672e3b617b4480d8e2d7efc7e00863efc3d (diff)
parent691f4715c0cf4bc11ea2280db8777e6dd174a8ac (diff)
downloadrneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.gz
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.tar.bz2
rneovim-5fe6bde296569e275a0b83d497a54611f73c410a.zip
Merge pull request #19961 from dundargoc/refactor/char_u/2
refactor: replace char_u with char 2: electric chaaralo
Diffstat (limited to 'src/nvim/runtime.c')
-rw-r--r--src/nvim/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/runtime.c b/src/nvim/runtime.c
index 23606fdc77..25f85b6193 100644
--- a/src/nvim/runtime.c
+++ b/src/nvim/runtime.c
@@ -2432,7 +2432,7 @@ void ex_scriptencoding(exarg_T *eap)
}
if (*eap->arg != NUL) {
- name = (char *)enc_canonize((char_u *)eap->arg);
+ name = enc_canonize(eap->arg);
} else {
name = eap->arg;
}