diff src/evalvars.c @ 19195:2ef19eed524a v8.2.0156

patch 8.2.0156: various typos in source files and tests Commit: https://github.com/vim/vim/commit/4b96df5a017a04141c4e901b1fc5704a3ca48099 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 26 22:00:26 2020 +0100 patch 8.2.0156: various typos in source files and tests Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes https://github.com/vim/vim/issues/5532)
author Bram Moolenaar <Bram@vim.org>
date Sun, 26 Jan 2020 22:15:05 +0100
parents 133ef7ba4e4e
children e7b4fff348dd
line wrap: on
line diff
--- a/src/evalvars.c
+++ b/src/evalvars.c
@@ -2813,7 +2813,7 @@ set_var_const(
 		    char_u *val = tv_get_string(tv);
 
 		    // Careful: when assigning to v:errmsg and tv_get_string()
-		    // causes an error message the variable will alrady be set.
+		    // causes an error message the variable will already be set.
 		    if (di->di_tv.vval.v_string == NULL)
 			di->di_tv.vval.v_string = vim_strsave(val);
 		}