summaryrefslogtreecommitdiff
path: root/handler.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 /handler.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 'handler.c')
-rw-r--r--handler.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/handler.c b/handler.c
index 0beeb4c..6bcb7ea 100644
--- a/handler.c
+++ b/handler.c
@@ -216,7 +216,7 @@ PortholeCallback(Widget w, XtPointer panner_ptr, XtPointer report_ptr)
}
/* Function Name: FlashActiveWidgets
- * Description: called to flass all active widgets in the display.
+ * Description: called to flash all active widgets in the display.
* Arguments: *** NOT USED ***
* Returns: none.
*/
@@ -265,7 +265,7 @@ GetResourceList(Widget w, XtPointer junk, XtPointer garbage)
}
/*
- * No resoruces, fetch them from the client.
+ * No resources, fetch them from the client.
*/
_XEditResResetStream(stream);
@@ -414,7 +414,7 @@ ActivateWidgetsAndSetResourceString(Widget w,
* Description: Sets the resource label to correspond to the currently
* chosen string.
* Arguments: w - The widget that invoked this callback, or NULL.
- * node_ptr - pointer to widget node contating this res box.
+ * node_ptr - pointer to widget node containing this res box.
* call_data - The call data for the action that invoked
* this callback.
* Returns: none.
@@ -489,12 +489,12 @@ SetResourceString(Widget w, XtPointer node_ptr, XtPointer junk)
/* Function Name: ResourceListCallback
* Description: Callback functions for the resource lists. This
- * routine is essentialy called by the list widgets
+ * routine is essentially called by the list widgets
* Notify action. If action EnableGetVal has been
* invoked, ResourceListCallback will perform a
* GetValues protocol request.
* Arguments: list - the list widget that we are dealing with.
- * node_ptr - pointer to widget node contating this res box.
+ * node_ptr - pointer to widget node containing this res box.
* junk - UNUSED.
* Returns: none
*/
@@ -655,7 +655,7 @@ SetFile(Widget w, XtPointer junk, XtPointer garbage)
* Description: Apply the current resource to the running application.
* Arguments: w - any widget in the application.
* node_ptr - a pointer to the node containing
- * the current resouce box.
+ * the current resource box.
* junk - UNUSED.
* Returns: none
*/
@@ -700,7 +700,7 @@ ApplyResource(Widget w, XtPointer node_ptr, XtPointer junk)
len = stream->current - stream->top;
/*
- * Insert the widget count, overriden later.
+ * Insert the widget count, overridden later.
*/
_XEditResPut16(stream, 0);
@@ -724,7 +724,7 @@ ApplyResource(Widget w, XtPointer node_ptr, XtPointer junk)
/* Function Name: ObtainResource
* Description: Obtain the current resource from the running application.
* Arguments: node_ptr - a pointer to the node containing
- * the current resouce box.
+ * the current resource box.
* Returns: none
*/
@@ -873,7 +873,7 @@ ActivateResourceWidgets(Widget w, XtPointer node_ptr, XtPointer junk)
/* Function Name: SetOnlyMatchingWidgets
* Description: Activates all widgets in the tree that match this
- * resource specifiction.
+ * resource specification.
* Arguments: node - the current node.
* info_ptr - the pointer to the apply info.
* Returns: none