summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c8
-rw-r--r--src/vim.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 37d9f9fb0..0967a7e74 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -1240,7 +1240,7 @@ do_cmdline(cmdline, getline, cookie, flags)
trylevel = initial_trylevel + cstack.cs_trylevel;
/*
- * If the outermost try conditional (accross function calls and sourced
+ * If the outermost try conditional (across function calls and sourced
* files) is aborted because of an error, an interrupt, or an uncaught
* exception, cancel everything. If it is left normally, reset
* force_abort to get the non-EH compatible abortion behavior for
@@ -1593,8 +1593,8 @@ getline_equal(fgetline, cookie, func)
struct loop_cookie *cp;
/* When "fgetline" is "get_loop_line()" use the "cookie" to find the
- * function that's orignally used to obtain the lines. This may be nested
- * several levels. */
+ * function that's originally used to obtain the lines. This may be
+ * nested several levels. */
gp = fgetline;
cp = (struct loop_cookie *)cookie;
while (gp == get_loop_line)
@@ -1624,7 +1624,7 @@ getline_cookie(fgetline, cookie)
struct loop_cookie *cp;
/* When "fgetline" is "get_loop_line()" use the "cookie" to find the
- * cookie that's orignally used to obtain the lines. This may be nested
+ * cookie that's originally used to obtain the lines. This may be nested
* several levels. */
gp = fgetline;
cp = (struct loop_cookie *)cookie;
diff --git a/src/vim.h b/src/vim.h
index 36ff27ab8..49b20de0c 100644
--- a/src/vim.h
+++ b/src/vim.h
@@ -33,7 +33,7 @@
# define HAVE_PATHDEF
/*
- * Check if configure correcly managed to find sizeof(int). If this failed,
+ * Check if configure correctly managed to find sizeof(int). If this failed,
* it becomes zero. This is likely a problem of not being able to run the
* test program. Other items from configure may also be wrong then!
*/
@@ -42,7 +42,7 @@
# endif
/*
- * Cygwin may have fchdir() in a newer rleease, but in most versions it
+ * Cygwin may have fchdir() in a newer release, but in most versions it
* doesn't work well and avoiding it keeps the binary backward compatible.
*/
# if defined(__CYGWIN32__) && defined(HAVE_FCHDIR)