From e6fa0b3b6568fa8c0d1173fdc822c97c41a2f763 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 9 Jan 2020 14:38:30 +0100 Subject: Fix typos reported by codespell in Src/ --- Src/Modules/zftp.c | 2 +- Src/Zle/compmatch.c | 2 +- Src/sort.c | 2 +- Src/zsh.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'Src') diff --git a/Src/Modules/zftp.c b/Src/Modules/zftp.c index 8bebc020d..e8e239e76 100644 --- a/Src/Modules/zftp.c +++ b/Src/Modules/zftp.c @@ -237,7 +237,7 @@ enum { /* * We keep an fd open for communication between the main shell * and forked off bits and pieces. This allows us to know - * if something happend in a subshell: mode changed, type changed, + * if something happened in a subshell: mode changed, type changed, * connection was closed. If something too substantial happened * in a subshell --- connection opened, ZFTP_USER and ZFTP_PWD changed * --- we don't try to track it because it's too complicated. diff --git a/Src/Zle/compmatch.c b/Src/Zle/compmatch.c index 1cdbb8a48..cc4c3eca9 100644 --- a/Src/Zle/compmatch.c +++ b/Src/Zle/compmatch.c @@ -1399,7 +1399,7 @@ pattern_match_restrict(Cpattern p, Cpattern wp, convchar_t *wsc, int wsclen, if (prestrict->tp == CPAT_CHAR) { /* * Easy case: restricted to an exact character on - * the line. Procede as normal. + * the line. Proceed as normal. */ c = prestrict->u.chr; } else { diff --git a/Src/sort.c b/Src/sort.c index 562b89491..8faf9349c 100644 --- a/Src/sort.c +++ b/Src/sort.c @@ -250,7 +250,7 @@ strmetasort(char **array, int sortwhat, int *unmetalenp) if (unmetalenp) { /* * Already unmetafied. We just need to check for - * embededded nulls. + * embedded nulls. */ int count = unmetalenp[arrptr-array]; /* Remember this length for sorted array */ diff --git a/Src/zsh.h b/Src/zsh.h index 89b393945..834142895 100644 --- a/Src/zsh.h +++ b/Src/zsh.h @@ -2999,7 +2999,7 @@ struct sortelt { int origlen; /* * The length of the string, if needed, else -1. - * The length is only needed if there are embededded nulls. + * The length is only needed if there are embedded nulls. */ int len; }; -- cgit 1.4.1