diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-05-10 18:59:07 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-05-10 18:59:07 +0000 |
commit | b8017e7a03bd487e4cea54d37dc73af9155db979 (patch) | |
tree | 944471c695abbfd78c1bcad093b3ae1890ec07b3 /src/search.c | |
parent | cf0dfa2f18cead35804e200856d49235906a54d0 (diff) | |
download | vim-git-b8017e7a03bd487e4cea54d37dc73af9155db979.tar.gz |
updated for version 7.1b
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.c b/src/search.c index d12e4682d..d73f3b9f2 100644 --- a/src/search.c +++ b/src/search.c @@ -125,7 +125,7 @@ typedef struct SearchedFile * pat_save == RE_SUBST: save pat in spats[RE_SUBST].pat (:substitute command) * pat_save == RE_BOTH: save pat in both patterns (:global command) * pat_use == RE_SEARCH: use previous search pattern if "pat" is NULL - * pat_use == RE_SUBST: use previous sustitute pattern if "pat" is NULL + * pat_use == RE_SUBST: use previous substitute pattern if "pat" is NULL * pat_use == RE_LAST: use last used pattern if "pat" is NULL * options & SEARCH_HIS: put search string in history * options & SEARCH_KEEP: keep previous search pattern @@ -947,7 +947,7 @@ first_submatch(rp) /* * Highest level string search function. - * Search for the 'count'th occurence of pattern 'pat' in direction 'dirc' + * Search for the 'count'th occurrence of pattern 'pat' in direction 'dirc' * If 'dirc' is 0: use previous dir. * If 'pat' is NULL or empty : use previous string. * If 'options & SEARCH_REV' : go in reverse of previous dir. |