summaryrefslogtreecommitdiff
path: root/usr.bin/less
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 19:16:05 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-12-26 19:16:05 +0000
commitba88fc458a6035cb369aafc8667bade7da573b6b (patch)
tree394d099e791ff5398b95266a1d3bdf8c5e6b82bc /usr.bin/less
parent21387508cf29cf6c632d139f76994a8bbd51b838 (diff)
spelling fixes; from paul tagliamonte
amendments to his diff are noted on tech
Diffstat (limited to 'usr.bin/less')
-rw-r--r--usr.bin/less/main.c2
-rw-r--r--usr.bin/less/search.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/less/main.c b/usr.bin/less/main.c
index ddc9b3c4172..a29999e02e6 100644
--- a/usr.bin/less/main.c
+++ b/usr.bin/less/main.c
@@ -128,7 +128,7 @@ main(int argc, char *argv[])
/* default prompt is medium */
pr_type = OPT_ON;
- /* do not hilight search terms */
+ /* do not highlight search terms */
hilite_search = OPT_OFF;
/* do not use LESSOPEN */
diff --git a/usr.bin/less/search.c b/usr.bin/less/search.c
index 9d7613b665b..a99a4865ef5 100644
--- a/usr.bin/less/search.c
+++ b/usr.bin/less/search.c
@@ -433,7 +433,7 @@ add_hilite(struct hilite *anchor, struct hilite *hl)
}
/*
- * Hilight every character in a range of displayed characters.
+ * Highlight every character in a range of displayed characters.
*/
static void
create_hilites(off_t linepos, int start_index, int end_index, int *chpos)