summaryrefslogtreecommitdiff
path: root/comm.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:25:45 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 14:25:45 -0800
commitae0c5a4048bec6ebcc61a8cd4abbe79ac367c53e (patch)
tree9dfc73358b13959989c507a0b3004420b509b729 /comm.c
parent15be5d8d295f4d7c779845cd11e06c08cfacad85 (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 'comm.c')
-rw-r--r--comm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/comm.c b/comm.c
index 49fde2e..918dc7a 100644
--- a/comm.c
+++ b/comm.c
@@ -318,7 +318,7 @@ ConvertCommand(Widget w, Atom *selection, Atom *target, Atom *type_ret,
static void
SelectionDone(Widget w, Atom *sel, Atom *targ)
{
- /* Keep the toolkit from automaticaly freeing the selection value */
+ /* Keep the toolkit from automatically freeing the selection value */
}
@@ -427,8 +427,8 @@ GetClientValue(Widget w, XtPointer data, Atom *selection, Atom *type,
case ProtocolMismatch:
error_str = ProtocolFailure(stream);
--global_effective_protocol_version;
- /* normaly protocol version is reset to current during a SendWidgetTree
- * request, however, after a protocol failure this is skiped once for
+ /* normally protocol version is reset to current during a SendWidgetTree
+ * request, however, after a protocol failure this is skipped once for
* a retry.
*/
reset_protocol_level = False;
@@ -686,7 +686,7 @@ BuildEvent(ProtocolStream *stream)
goto done;
}
else {
- if (!(_XEditResGetBoolean(stream, &(info->visable)) &&
+ if (!(_XEditResGetBoolean(stream, &(info->visible)) &&
_XEditResGetSigned16(stream, &(info->x)) &&
_XEditResGetSigned16(stream, &(info->y)) &&
_XEditResGet16(stream, &(info->width)) &&
@@ -924,4 +924,3 @@ GetNewIdent(void)
return(ident++);
}
-