aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nvim/eval.c2
-rw-r--r--src/nvim/memory.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c
index cc31bce877..81a9603994 100644
--- a/src/nvim/eval.c
+++ b/src/nvim/eval.c
@@ -549,7 +549,7 @@ void eval_init(void)
list_T *const type_list = list_alloc();
type_list->lv_lock = VAR_FIXED;
type_list->lv_refcount = 1;
- dictitem_T *const di = dictitem_alloc((char_u *) msgpack_type_names[i]);
+ dictitem_T *const di = dictitem_alloc((char_u *)msgpack_type_names[i]);
di->di_flags |= DI_FLAGS_RO|DI_FLAGS_FIX;
di->di_tv = (typval_T) {
.v_type = VAR_LIST,
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 4861299956..b593936d7b 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -650,7 +650,7 @@ void free_all_mem(void)
// Free all buffers. Reset 'autochdir' to avoid accessing things that
// were freed already.
- // Must be after eval_clear to avoid it trying to access b:changedtick after
+ // Must be after eval_clear to avoid it trying to access b:changedtick after
// freeing it.
p_acd = false;
for (buf = firstbuf; buf != NULL; ) {