summaryrefslogtreecommitdiff
path: root/pico
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
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')
-rw-r--r--pico/osdep/mswin.c2
-rw-r--r--pico/pico.h2
-rw-r--r--pico/search.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/pico/osdep/mswin.c b/pico/osdep/mswin.c
index ba72747a..c495eec2 100644
--- a/pico/osdep/mswin.c
+++ b/pico/osdep/mswin.c
@@ -6335,7 +6335,7 @@ mswin_getscrollpos (void)
/*
- * retreive the latest scroll to position.
+ * retrieve the latest scroll to position.
*/
long
mswin_getscrollto (void)
diff --git a/pico/pico.h b/pico/pico.h
index 100b4cbf..f509e920 100644
--- a/pico/pico.h
+++ b/pico/pico.h
@@ -221,7 +221,7 @@ typedef struct pico_struct {
int (*tty_fix)(); /* Let Pine fix tty state */
long (*newmail)(); /* Pine's report_new_mail */
long (*msgntext)(); /* callback to get msg n's text */
- int (*upload)(); /* callback to rcv uploded text */
+ int (*upload)(); /* callback to rcv uploaded text */
char *(*ckptdir)(); /* callback for checkpoint file dir */
int (*exittest)(); /* callback to verify exit request */
char *(*canceltest)(); /* callback to verify cancel request */
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;