summaryrefslogtreecommitdiff
path: root/pico/search.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-16 08:29:04 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-16 08:29:04 -0700
commitafbf1ef03d944a775cafbc02243f8eb8c15d096e (patch)
tree9b04017bf26a601a0a867fdd45dce94c2897827a /pico/search.c
parenta6feb748e22af1b8cf032c08e91c2424c44ebd62 (diff)
downloadalpine-afbf1ef03d944a775cafbc02243f8eb8c15d096e.tar.xz
* Fix a few more misspellings in the source code of Alpine.
List contributed by Jens Schleusener.
Diffstat (limited to 'pico/search.c')
-rw-r--r--pico/search.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pico/search.c b/pico/search.c
index d1bba6c6..a23df3ae 100644
--- a/pico/search.c
+++ b/pico/search.c
@@ -620,7 +620,7 @@ replace_pat(UCS *defpat, int *wrapt, int bsearch)
case (CTRL|'X'): /* toggle replace all option */
if (repl_all){
repl_all = FALSE;
- /* TRANSLATORS: abbreviation for Replace All occurences */
+ /* TRANSLATORS: abbreviation for Replace All occurrences */
menu_pat[0].label = N_("Repl All");
}
else{
@@ -1192,7 +1192,7 @@ forscan(int *wrapt, /* boolean indicating search wrapped */
LINE *limitp, /* stop searching if reached */
int limito, /* stop searching if reached */
int leavep) /* place to leave point
- PTBEG = begining of match
+ PTBEG = beginning of match
PTEND = at end of match */
{
@@ -1314,7 +1314,7 @@ forscan(int *wrapt, /* boolean indicating search wrapped */
goto fail;
}
- /* A SUCCESSFULL MATCH!!! */
+ /* A SUCCESSFUL MATCH!!! */
/* reset the global "." pointers */
if (leavep == PTEND) { /* at end of string */
curwp->w_dotp = matchline;