diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-05-07 10:56:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-05-07 10:58:54 -0700 |
commit | 794367d1ac396842c0213064ebcfe1f4e2219657 (patch) | |
tree | 55fe87da95c1b506aeb0beea91088516b309e5cf /src/Actions.c | |
parent | f704f8cf083140a592a79705a3b104063d9b67c4 (diff) | |
download | xorg-lib-libXaw-794367d1ac396842c0213064ebcfe1f4e2219657.tar.gz |
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/Actions.c')
-rw-r--r-- | src/Actions.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Actions.c b/src/Actions.c index eceb1f9..ae330d5 100644 --- a/src/Actions.c +++ b/src/Actions.c @@ -149,7 +149,7 @@ static Cardinal num_variable_list; * Start of Boolean Expression Evaluation Implementation Code */ Bool -XawParseBoolean(Widget w, String param, XEvent *event, Bool *succed) +XawParseBoolean(Widget w, String param, XEvent *event, Bool *succeed) { char *tmp = (char *)param; int value; @@ -179,7 +179,7 @@ XawParseBoolean(Widget w, String param, XEvent *event, Bool *succed) else if (XmuCompareISOLatin1(param, "faked") == 0) return (event->xany.send_event != 0); else - *succed = False; + *succeed = False; return (False); } @@ -246,7 +246,7 @@ get_token(XawEvalInfo *info) /* It's a symbol name, resolve it. */ if (ch == XAW_PRIV_VAR_PREFIX || isalnum(ch) || ch == '_' || ch == '\\') { - Bool succed = True; + Bool succeed = True; p = info->cp - 1; @@ -262,13 +262,13 @@ get_token(XawEvalInfo *info) String value = XawConvertActionVar(info->vlist, name); info->value = info->parse_proc(info->widget, value, info->event, - &succed) & 1; + &succeed) & 1; } else { info->value = info->parse_proc(info->widget, name, info->event, - &succed) & 1; - if (!succed) + &succeed) & 1; + if (!succeed) { String value = XawConvertActionRes(info->rlist, info->widget, @@ -276,18 +276,18 @@ get_token(XawEvalInfo *info) /* '\\' may have been used to escape a resource name. */ - succed = True; + succeed = True; info->value = info->parse_proc(info->widget, value, info->event, - &succed) & 1; - if (!succed) + &succeed) & 1; + if (!succeed) { /* not a numeric value or boolean string */ info->value = True; - succed = True; + succeed = True; } } } - if (succed) + if (succeed) return (info->token = BOOLEAN); } else if (ch == '\0') |