summaryrefslogtreecommitdiff
path: root/src/TextAction.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-05-07 11:50:11 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-05-07 11:50:11 -0700
commit34ed91bd900937447fb79e88f276fe19e6aba457 (patch)
tree5169fdea0baeec723798b86959dea4cd24c9f59a /src/TextAction.c
parent8a8fbec86a2988aa96cbf913d1fa54946fd9cf82 (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/TextAction.c')
-rw-r--r--src/TextAction.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/TextAction.c b/src/TextAction.c
index 2ec0d97..00bb0ad 100644
--- a/src/TextAction.c
+++ b/src/TextAction.c
@@ -1308,7 +1308,7 @@ TextLeaveWindow(Widget w, XEvent *event, String *params, Cardinal *num_params)
static XComposeStatus compose_status = {NULL, 0};
/* Function Name: AutoFill
- * Description: Breaks the line at the previous word boundry when
+ * Description: Breaks the line at the previous word boundary when
* called inside InsertChar.
* Arguments: ctx - The text widget.
* Returns: none
@@ -1420,7 +1420,7 @@ InsertChar(Widget w, XEvent *event, String *p, Cardinal *n)
*
* i18n requires the ability to specify multiple characters in a hexa-
* decimal string at once. Since Insert was already too long, I made
- * this a seperate routine.
+ * this a separate routine.
*
* A legal hex string in MBNF: '0' 'x' ( HEX-DIGIT HEX-DIGIT )+ '\0'
*
@@ -1482,7 +1482,7 @@ IfHexConvertHexElseReturnParam(char *param, int *len_return)
}
}
- /* We quit the above loop becasue we hit a non hex. If that char is \0... */
+ /* We quit the above loop because we hit a non hex. If that char is \0... */
if ( ( c == '\0' ) && first_digit ) {
*len_return = strlen( hexval );