summaryrefslogtreecommitdiff
path: root/Src/hist.c
diff options
context:
space:
mode:
authorMartijn Dekker <martijn@inlv.org>2019-12-10 20:41:08 +0100
committerDaniel Shahaf <danielsh@apache.org>2019-12-11 02:37:39 +0000
commitc578f0a08b9257f3db85dab5431270f1a6eb8858 (patch)
treec643f7c8965fa71d4248045d2a1a0b90a0c5a365 /Src/hist.c
parentd81238ee955f074cb2c303ce6047bfa7e513d772 (diff)
downloadzsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.tar.gz
zsh-c578f0a08b9257f3db85dab5431270f1a6eb8858.zip
45004: Fix typos in comments
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/hist.c b/Src/hist.c
index e47be8e15..74116e82f 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -181,7 +181,7 @@ mod_export char *chline;
* To avoid having to modify this every time we modify chline,
* we set it when we push the stack, and unset it when we pop
* the appropriate value off the stack. As it's never modified
- * on the stack this is the only maintainance we ever do on it.
+ * on the stack this is the only maintenance we ever do on it.
* In return, ZLE has to check both zle_chline and (if that's
* NULL) chline to get the current value.
*/
@@ -476,7 +476,7 @@ herrflush(void)
*
* Note that this is a side effect --- this is not the usual reason
* for testing lex_add_raw which is to add the text to a different
- * buffer used when we are actually parsing the command substituion
+ * buffer used when we are actually parsing the command substitution
* (nothing to do with ZLE). Sorry.
*/
while (inbufct && (!strin || lex_add_raw)) {