diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-01-15 21:41:39 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-01-15 21:41:39 -0700 |
commit | 06c6ab430b223f6923fe74a4b8d11f3e626848a8 (patch) | |
tree | 2b483acf3ec2da573992c20b766a480e22f4c45a /pico/search.c | |
parent | 9822842646bc2b940d4b98a260ee4e3ac26fce57 (diff) | |
download | alpine-06c6ab430b223f6923fe74a4b8d11f3e626848a8.tar.xz |
* Fix a number of misspellings in the source code of Alpine. I hav only
fixed those that belong to the source code of Alpine and do not come
from an external source. List contributed by Jens Schleusener.
Diffstat (limited to 'pico/search.c')
-rw-r--r-- | pico/search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pico/search.c b/pico/search.c index 3bdcc48a..d1bba6c6 100644 --- a/pico/search.c +++ b/pico/search.c @@ -100,7 +100,7 @@ EXTRAKEYS menu_srchopt[] = { /* string search input parameters */ -#define PTBEG 1 /* leave the point at the begining on search */ +#define PTBEG 1 /* leave the point at the beginning on search */ #define PTEND 2 /* leave the point at the end on search */ #define NPMT (2*NLINE+32) @@ -394,7 +394,7 @@ forwsearch(int f, int n) /* * This code is kind of dumb. What I want is successive C-W 's to - * move dot to successive occurences of the pattern. So, if dot is + * move dot to successive occurrences of the pattern. So, if dot is * already sitting at the beginning of the pattern, then we'll move * forward a char before beginning the search. We'll let the * automatic wrapping handle putting the dot back in the right @@ -1320,7 +1320,7 @@ forscan(int *wrapt, /* boolean indicating search wrapped */ curwp->w_dotp = matchline; curwp->w_doto = matchoff - 1; } - else { /* at begining of string */ + else { /* at beginning of string */ curwp->w_dotp = lastline; curwp->w_doto = lastoff; } |