diff options
author | Bram Moolenaar <Bram@vim.org> | 2009-02-04 10:20:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2009-02-04 10:20:58 +0000 |
commit | 5b3e4600363922cb3b9c894e5f5b91e391437a3d (patch) | |
tree | 47397966766b6522e066c010c89f2b0d44bac36d /src/edit.c | |
parent | 3ca9a8a00d69cf943a09cc7b49e04e1b9a9cefe9 (diff) | |
download | vim-git-5b3e4600363922cb3b9c894e5f5b91e391437a3d.tar.gz |
updated for version 7.2-094v7.2.094
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/edit.c b/src/edit.c index 7721259af..24f149634 100644 --- a/src/edit.c +++ b/src/edit.c @@ -1958,6 +1958,7 @@ backspace_until_column(col) * Only matters when there are composing characters. * Return TRUE when something was deleted. */ +/*ARGSUSED*/ static int del_char_after_col(limit_col) int limit_col; @@ -1971,7 +1972,7 @@ del_char_after_col(limit_col) * skip forward again when going too far back because of a * composing character. */ mb_adjust_cursor(); - while (curwin->w_cursor.col < limit_col) + while (curwin->w_cursor.col < (colnr_T)limit_col) { int l = utf_ptr2len(ml_get_cursor()); @@ -4240,7 +4241,7 @@ ins_compl_get_exp(ini) } /* check if compl_curr_match has changed, (e.g. other type of - * expansion added somenthing) */ + * expansion added something) */ if (type != 0 && compl_curr_match != old_match) found_new_match = OK; @@ -4741,7 +4742,7 @@ ins_complete(c) } compl_length = curwin->w_cursor.col - (int)compl_col; /* IObuff is used to add a "word from the next line" would we - * have enough space? just being paranoic */ + * have enough space? just being paranoid */ #define MIN_SPACE 75 if (compl_length > (IOSIZE - MIN_SPACE)) { @@ -8206,7 +8207,7 @@ ins_ctrl_o() /* * If the cursor is on an indent, ^T/^D insert/delete one * shiftwidth. Otherwise ^T/^D behave like a "<<" or ">>". - * Always round the indent to 'shiftwith', this is compatible + * Always round the indent to 'shiftwidth', this is compatible * with vi. But vi only supports ^T and ^D after an * autoindent, we support it everywhere. */ |