aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/help.c')
-rw-r--r--src/nvim/help.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/help.c b/src/nvim/help.c
index 4b2b113437..b25fabca48 100644
--- a/src/nvim/help.c
+++ b/src/nvim/help.c
@@ -803,8 +803,8 @@ void fix_help_buffer(void)
// 'encoding' may be required.
vc.vc_type = CONV_NONE;
convert_setup(&vc,
- (char_u *)(this_utf == kTrue ? "utf-8" : "latin1"),
- (char_u *)p_enc);
+ (this_utf == kTrue ? "utf-8" : "latin1"),
+ p_enc);
if (vc.vc_type == CONV_NONE) {
// No conversion needed.
cp = (char *)IObuff;