commit 8061a981b1d14f2ae3c863df9c089cea581d7ebd
parent e64c9508962cc87d3efe16387f20caa59aecb1b1
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Fri, 26 Jun 2020 11:24:55 +0200
tweaks: correct two spelling mistakes [codespell]
Diffstat:
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/doc/nano.texi b/doc/nano.texi
@@ -821,7 +821,7 @@ other valid (but unprefixable) color names are:
@code{peach}, @code{orange}, @code{latte}, and @code{normal}
--- where @code{normal} means the default foreground or background color.
Either @var{fgcolor} or ,@var{bgcolor} may be left out,
-and the pair may be preceeded by @code{bold} and/or @code{italic}
+and the pair may be preceded by @code{bold} and/or @code{italic}
(separated by commas) to get a bold and/or slanting typeface,
if your terminal can do those.
@@ -1125,7 +1125,7 @@ other valid (but unprefixable) color names are:
@code{lagoon}, @code{mint}, @code{lime},
@code{peach}, @code{orange}, @code{latte}, and @code{normal}
--- where @code{normal} means the default foreground or background color.
-The color pair may be preceeded by @code{bold} and/or @code{italic}
+The color pair may be preceded by @code{bold} and/or @code{italic}
(separated by commas) to get a bold and/or slanting typeface,
if your terminal can do those.
diff --git a/doc/nanorc.5 b/doc/nanorc.5
@@ -314,7 +314,7 @@ other valid (but unprefixable) color names are:
.BR lime ", " peach ", " orange ", " latte ", and " normal
-- where \fBnormal\fR means the default foreground or background color.
Either "\fIfgcolor\fR" or "\fB,\fIbgcolor\fR" may be left out,
-and the pair may be preceeded by \fBbold\fR and/or \fBitalic\fR
+and the pair may be preceded by \fBbold\fR and/or \fBitalic\fR
(separated by commas) to get a bold and/or slanting typeface,
if your terminal can do those.
.TP
@@ -443,7 +443,7 @@ other valid (but unprefixable) color names are:
.BR pink ", " purple ", " mauve ", " lagoon ", " mint ", "
.BR lime ", " peach ", " orange ", " latte ", and " normal
-- where \fBnormal\fR means the default foreground or background color.
-The color pair may be preceeded by \fBbold\fR and/or \fBitalic\fR
+The color pair may be preceded by \fBbold\fR and/or \fBitalic\fR
(separated by commas) to get a bold and/or slanting typeface,
if your terminal can do those.
.sp
diff --git a/src/text.c b/src/text.c
@@ -2982,7 +2982,7 @@ void do_wordlinechar_count(void)
/* Keep stepping to the next word (considering punctuation as part of a
* word, as "wc -w" does), until we reach the end of the relevant area,
- * incrementing the word count for each succesful step. */
+ * incrementing the word count for each successful step. */
while (openfile->current->lineno < botline->lineno ||
(openfile->current == botline && openfile->current_x < bot_x)) {
if (do_next_word(FALSE, TRUE))