summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2007-05-10 19:30:25 +0000
committerBram Moolenaar <Bram@vim.org>2007-05-10 19:30:25 +0000
commitbae0c16cc4bc8a4b7d139a8cf9e0c816bb0a947d (patch)
tree2023dff3ccdb8d66098c5bc91cf1df4a56743e00 /src
parent45667517ba105c3cfc8765a6f2415bc32d72945c (diff)
downloadvim-git-bae0c16cc4bc8a4b7d139a8cf9e0c816bb0a947d.tar.gz
updated for version 7.1bv7.1b
Diffstat (limited to 'src')
-rw-r--r--src/eval.c16
-rw-r--r--src/gui_beval.c6
-rw-r--r--src/if_mzsch.c2
-rw-r--r--src/memline.c2
-rw-r--r--src/os_amiga.c4
5 files changed, 15 insertions, 15 deletions
diff --git a/src/eval.c b/src/eval.c
index 0fd774496..9429981e0 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1906,7 +1906,7 @@ skip_var_list(arg, var_count, semicolon)
}
/*
- * Skip one (assignable) variable name, includig @r, $VAR, &option, d.key,
+ * Skip one (assignable) variable name, including @r, $VAR, &option, d.key,
* l[idx].
*/
static char_u *
@@ -4506,8 +4506,8 @@ eval6(arg, rettv, evaluate)
/*
* Handle sixth level expression:
* number number constant
- * "string" string contstant
- * 'string' literal string contstant
+ * "string" string constant
+ * 'string' literal string constant
* &option-name option value
* @r register contents
* identifier variable value
@@ -7018,7 +7018,7 @@ static struct fst
char f_min_argc; /* minimal number of arguments */
char f_max_argc; /* maximal number of arguments */
void (*f_func) __ARGS((typval_T *args, typval_T *rvar));
- /* implemenation of function */
+ /* implementation of function */
} functions[] =
{
{"add", 2, 2, f_add},
@@ -20668,7 +20668,7 @@ static int shortpath_for_partial __ARGS((char_u **fnamep, char_u **bufp, int *fn
/*
* Get the short pathname of a file.
- * Returns 1 on success. *fnamelen is 0 for nonexistant path.
+ * Returns 1 on success. *fnamelen is 0 for nonexistent path.
*/
static int
get_short_pathname(fnamep, bufp, fnamelen)
@@ -20735,7 +20735,7 @@ shortpath_for_invalid_fname(fname, bufp, fnamelen)
do
{
- /* Go back one path-seperator */
+ /* Go back one path-separator */
while (s > pbuf2 && !after_pathsep(pbuf2, s + 1))
{
--s;
@@ -20745,7 +20745,7 @@ shortpath_for_invalid_fname(fname, bufp, fnamelen)
if (s <= pbuf2)
break;
- /* Remeber the character that is about to be blatted */
+ /* Remember the character that is about to be splatted */
ch = *s;
*s = 0; /* get_short_pathname requires a null-terminated string */
@@ -20761,7 +20761,7 @@ shortpath_for_invalid_fname(fname, bufp, fnamelen)
if (plen > 0)
{
- /* Remeber the length of the new string. */
+ /* Remember the length of the new string. */
*fnamelen = len = plen + slen;
vim_free(*bufp);
if (len > len2)
diff --git a/src/gui_beval.c b/src/gui_beval.c
index 804fa5a4e..7adde4ea5 100644
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -68,7 +68,7 @@ general_beval_cb(beval, state)
/*
* Temporarily change the curbuf, so that we can determine whether
- * the buffer-local balloonexpr option was set insecurly.
+ * the buffer-local balloonexpr option was set insecurely.
*/
save_curbuf = curbuf;
curbuf = wp->w_buffer;
@@ -250,7 +250,7 @@ gui_mch_create_beval_area(target, mesg, mesgCB, clientData)
#if defined(FEAT_BEVAL_TIP) || defined(PROTO)
/*
- * Destroy a ballon-eval and free its associated memory.
+ * Destroy a balloon-eval and free its associated memory.
*/
void
gui_mch_destroy_beval_area(beval)
@@ -741,7 +741,7 @@ pointerEventEH(w, client_data, event, unused)
/*
* The real event handler. Called by pointerEventEH() whenever an event we are
- * interested in ocurrs.
+ * interested in occurs.
*/
static void
diff --git a/src/if_mzsch.c b/src/if_mzsch.c
index c325a9239..a175b6e44 100644
--- a/src/if_mzsch.c
+++ b/src/if_mzsch.c
@@ -2027,7 +2027,7 @@ set_buffer_line_list(void *data, int argc, Scheme_Object **argv)
extra = 0;
check_line_range(lo, buf->buf); /* inclusive */
- check_line_range(hi - 1, buf->buf); /* exclisive */
+ check_line_range(hi - 1, buf->buf); /* exclusive */
if (SCHEME_FALSEP(line_list) || SCHEME_NULLP(line_list))
{
diff --git a/src/memline.c b/src/memline.c
index 5015f4926..55d0a3273 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -152,7 +152,7 @@ struct data_block
*
* If size of block0 changes anyway, adjust MIN_SWAP_PAGE_SIZE in vim.h!!
*
- * This block is built up of single bytes, to make it portable accros
+ * This block is built up of single bytes, to make it portable across
* different machines. b0_magic_* is used to check the byte order and size of
* variables, because the rest of the swap file is not portable.
*/
diff --git a/src/os_amiga.c b/src/os_amiga.c
index 07000dcb4..f05410341 100644
--- a/src/os_amiga.c
+++ b/src/os_amiga.c
@@ -217,7 +217,7 @@ mch_delay(msec, ignoreinput)
long msec;
int ignoreinput;
{
-#ifndef LATTICE /* SAS declares void Delay(UNLONG) */
+#ifndef LATTICE /* SAS declares void Delay(ULONG) */
void Delay __ARGS((long));
#endif
@@ -1145,7 +1145,7 @@ out_num(n)
static long
dos_packet(pid, action, arg)
- struct MsgPort *pid; /* process indentifier ... (handlers message port) */
+ struct MsgPort *pid; /* process identifier ... (handlers message port) */
long action, /* packet type ... (what you want handler to do) */
arg; /* single argument */
{