about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
-rw-r--r--Src/prompt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 6dbfa75ca..cda5e68cb 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -4713,7 +4713,7 @@ zexit(int val, int from_where)
      */
     in_exit = -1;
     /*
-     * We want to do all remaining processing regardless of preceeding
+     * We want to do all remaining processing regardless of preceding
      * errors.
      */
     errflag = 0;
diff --git a/Src/prompt.c b/Src/prompt.c
index a91ac541f..715f4b503 100644
--- a/Src/prompt.c
+++ b/Src/prompt.c
@@ -1205,7 +1205,7 @@ prompttrunc(int arg, int truncchar, int doprint, int endchar,
 		if (truncatleft) {
 		    /*
 		     * To truncate at the left, selectively copy
-		     * maxwidth bytes from the main prompt, preceeded
+		     * maxwidth bytes from the main prompt, preceded
 		     * by the truncation string in full.
 		     *
 		     * We're overwriting the string containing the