summaryrefslogtreecommitdiff
path: root/pico
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-03-28 22:10:03 -0600
committerEduardo Chappa <chappa@washington.edu>2021-03-28 22:10:03 -0600
commit24f85bc165077c8089d1d79e33c524573b90f68d (patch)
tree330371f75e9eb6daaf740ddf3606c9769bbc35ba /pico
parentc5a870b30c43914ed8414b9f54bed3da27057d79 (diff)
downloadalpine-24f85bc165077c8089d1d79e33c524573b90f68d.tar.xz
* Many spelling errors corrected by Jens Schleusener. Thank you!
Diffstat (limited to 'pico')
-rw-r--r--pico/attach.c4
-rw-r--r--pico/main.c4
-rw-r--r--pico/osdep/mswin.h2
-rw-r--r--pico/osdep/truncate.c2
-rw-r--r--pico/pico.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/pico/attach.c b/pico/attach.c
index 302947a6..ec4b2b8f 100644
--- a/pico/attach.c
+++ b/pico/attach.c
@@ -780,7 +780,7 @@ ParseAttach(struct hdr_line **lp, /* current header line */
utf8 = ucs4_to_utf8_cpystr(tmp);
*no = atoi(utf8); /* and the old place in list */
if(strcmp(number, utf8)){
- if(p-tmp > *off){ /* where to begin replacemnt */
+ if(p-tmp > *off){ /* where to begin replacement */
UCS uu[1];
uu[0] = '\0';
@@ -1118,7 +1118,7 @@ process_tag: /* enclosed in [] */
if(strcmp(sz, (lblsz) ? lblsz : prettysz(attsz))){
strncpy(sz, (lblsz) ? lblsz : prettysz(attsz), szlen);
sz[szlen-1] = '\0';
- if(p-tmp > *off){ /* where to begin replacemnt */
+ if(p-tmp > *off){ /* where to begin replacement */
UCS uu[1];
uu[0] = '\0';
diff --git a/pico/main.c b/pico/main.c
index cfce3064..1001edd1 100644
--- a/pico/main.c
+++ b/pico/main.c
@@ -427,7 +427,7 @@ main(int argc, char *argv[])
#ifdef MOUSE
#ifdef EX_MOUSE
- /* New mouse function for real mouse text seletion. */
+ /* New mouse function for real mouse text selection. */
register_mfunc(mouse_in_pico, 2, 0, term.t_nrow - (term.t_mrow + 1),
term.t_ncol);
#else
@@ -1093,7 +1093,7 @@ pico_set_global_colors(int nc, int ntfg, int ntbg, int rtfg, int rtbg,
memset((void *)pcolors, 0, sizeof(PCOLORS));
/* ignore bad pair settings, also we set tbcp backwards because it will
* be reversed later in the modeline function, so tbcp->fg is actually
- * tbcp->bg and viceversa.
+ * tbcp->bg and vice versa.
*/
if(ntfg >= 0 && ntbg >= 0){ /* set normal text color */
fg = colorx(ntfg); bg = colorx(ntbg);
diff --git a/pico/osdep/mswin.h b/pico/osdep/mswin.h
index 6482b525..f5ff23ad 100644
--- a/pico/osdep/mswin.h
+++ b/pico/osdep/mswin.h
@@ -324,7 +324,7 @@ int struncmp(char *, char *, int);
#ifdef MSC_MALLOC
/*
* These definitions will disable the SEGHEAP allocation routines, in
- * favor of the compliler libraries usual allocators. This is useful
+ * favor of the compiler libraries usual allocators. This is useful
* when external debugging tools and the SEGHEAP debugging routines step
* on each other...
*/
diff --git a/pico/osdep/truncate.c b/pico/osdep/truncate.c
index 8330338e..6c8e5f59 100644
--- a/pico/osdep/truncate.c
+++ b/pico/osdep/truncate.c
@@ -13,7 +13,7 @@
*
* Tim Rice tim@trr.metro.net Mon Jun 3 16:57:26 PDT 1996
*
- * a quick and dirty trancate()
+ * a quick and dirty truncate()
* Altos System V (5.3.1) does not have one
* neither does SCO Open Server Enterprise 3.0
*
diff --git a/pico/pico.c b/pico/pico.c
index 020f7c05..7179d516 100644
--- a/pico/pico.c
+++ b/pico/pico.c
@@ -359,7 +359,7 @@ pico(PICO *pm)
#ifdef MOUSE
#ifdef EX_MOUSE
- /* New mouse function for real mouse text seletion. */
+ /* New mouse function for real mouse text selection. */
register_mfunc(mouse_in_pico, 2, 0, term.t_nrow - (term.t_mrow+1),
term.t_ncol);
#else