summaryrefslogtreecommitdiff
path: root/dbe
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2020-07-05 13:07:33 -0700
commit23e83724df4809fd7857cc609c33ce7e8d3021a4 (patch)
treec3018d5ce5c474883b9a31aca33962d73a540bd8 /dbe
parentb0413b6e99c6b5fbc04229ce64ddf1f41b08e63e (diff)
Fix spelling/wording issues
Most (but not all) of these were found by using codespell --builtin clear,rare,usage,informal,code,names but not everything reported by that was fixed. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dbe')
-rw-r--r--dbe/dbe.c4
-rw-r--r--dbe/dbestruct.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/dbe/dbe.c b/dbe/dbe.c
index 292a22366..cdab3e9e5 100644
--- a/dbe/dbe.c
+++ b/dbe/dbe.c
@@ -1127,7 +1127,7 @@ DbeSetupBackgroundPainter(WindowPtr pWin, GCPtr pGC)
* DbeExtensionInit().
*
* To make resource deletion simple, we do not do anything in this function
- * and leave all resource deleteion to DbeWindowPrivDelete(), which will
+ * and leave all resource deletion to DbeWindowPrivDelete(), which will
* eventually be called or already has been called. Deletion functions are
* not guaranteed to be called in any particular order.
*
@@ -1183,7 +1183,7 @@ DbeWindowPrivDelete(void *pDbeWinPriv, XID id)
}
else {
/* We are removing the last ID in the array, in which case, the
- * assignement below is all that we need to do.
+ * assignment below is all that we need to do.
*/
}
pDbeWindowPriv->IDs[pDbeWindowPriv->nBufferIDs - 1] = DBE_FREE_ID_ELEMENT;
diff --git a/dbe/dbestruct.h b/dbe/dbestruct.h
index fe2ef0af6..ce99fbea8 100644
--- a/dbe/dbestruct.h
+++ b/dbe/dbestruct.h
@@ -171,7 +171,7 @@ typedef struct _DbeWindowPrivRec {
typedef struct _DbeScreenPrivRec {
/* Wrapped functions
- * It is the responsibilty of the DDX layer to wrap PositionWindow().
+ * It is the responsibility of the DDX layer to wrap PositionWindow().
* DbeExtensionInit wraps DestroyWindow().
*/
PositionWindowProcPtr PositionWindow;