summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/X11/Xaw3d/AsciiSrcP.h2
-rw-r--r--include/X11/Xaw3d/Form.h2
-rw-r--r--include/X11/Xaw3d/FormP.h4
-rw-r--r--include/X11/Xaw3d/List.h4
-rw-r--r--include/X11/Xaw3d/MultiSrc.h2
-rw-r--r--include/X11/Xaw3d/Paned.h2
-rw-r--r--include/X11/Xaw3d/ScrollbarP.h2
-rw-r--r--include/X11/Xaw3d/SmeBSBP.h2
-rw-r--r--include/X11/Xaw3d/Text.h2
-rw-r--r--include/X11/Xaw3d/TextP.h2
-rw-r--r--include/X11/Xaw3d/TextSink.h8
-rw-r--r--include/X11/Xaw3d/TextSrc.h8
12 files changed, 20 insertions, 20 deletions
diff --git a/include/X11/Xaw3d/AsciiSrcP.h b/include/X11/Xaw3d/AsciiSrcP.h
index 11d85a9..589c0c0 100644
--- a/include/X11/Xaw3d/AsciiSrcP.h
+++ b/include/X11/Xaw3d/AsciiSrcP.h
@@ -130,7 +130,7 @@ typedef struct _AsciiSrcPart {
int ascii_length; /* length field for ascii string emulation. */
#ifdef ASCII_DISK
- String filename; /* name of file for Compatability. */
+ String filename; /* name of file for Compatibility. */
#endif /* ASCII_DISK */
/* Private data. */
diff --git a/include/X11/Xaw3d/Form.h b/include/X11/Xaw3d/Form.h
index 2e4584f..160fbbe 100644
--- a/include/X11/Xaw3d/Form.h
+++ b/include/X11/Xaw3d/Form.h
@@ -127,7 +127,7 @@ typedef enum {
#endif /* _XawEdgeType_e */
/*
- * Unfortunatly I missed this definition for R4, so I cannot
+ * Unfortunately I missed this definition for R4, so I cannot
* protect it with XAW_BC, it looks like this particular problem is
* one that we will have to live with for a while.
*
diff --git a/include/X11/Xaw3d/FormP.h b/include/X11/Xaw3d/FormP.h
index b3bacdf..11d8f1d 100644
--- a/include/X11/Xaw3d/FormP.h
+++ b/include/X11/Xaw3d/FormP.h
@@ -116,7 +116,7 @@ typedef struct _FormConstraintsPart {
Boolean allow_resize; /* TRUE if child may request resize */
/*
- * Private contstraint resources.
+ * Private constraint resources.
*/
/*
@@ -126,7 +126,7 @@ typedef struct _FormConstraintsPart {
short virtual_width, virtual_height;
/*
- * Temporary Storage for children's new possible possition.
+ * Temporary Storage for children's new possible position.
*/
Position new_x, new_y;
diff --git a/include/X11/Xaw3d/List.h b/include/X11/Xaw3d/List.h
index 087fc4e..7ab2285 100644
--- a/include/X11/Xaw3d/List.h
+++ b/include/X11/Xaw3d/List.h
@@ -80,7 +80,7 @@ in this Software without prior written authorization from the X Consortium.
y Position Position 0
**1 - If the Width or Height of the list widget is zero (0) then the value
- is set to the minimum size necessay to fit the entire list.
+ is set to the minimum size necessary to fit the entire list.
If both Width and Height are zero then they are adjusted to fit the
entire list that is created width the number of default columns
@@ -175,7 +175,7 @@ _XFUNCPROTOBEGIN
* resize - if TRUE the the list widget will
* try to resize itself.
* Returns: none.
- * NOTE: If nitems of longest are <= 0 then they will be caluculated.
+ * NOTE: If nitems of longest are <= 0 then they will be calculated.
* If nitems is <= 0 then the list needs to be NULL terminated.
*/
diff --git a/include/X11/Xaw3d/MultiSrc.h b/include/X11/Xaw3d/MultiSrc.h
index a6eeb64..b851761 100644
--- a/include/X11/Xaw3d/MultiSrc.h
+++ b/include/X11/Xaw3d/MultiSrc.h
@@ -114,7 +114,7 @@ typedef struct _MultiSrcRec *MultiSrcObject;
*
* the AsciiSrc API which currently forwards requests here.
*
- * future versions (like theres going to be an R7 Xaw!) may
+ * future versions (like there's going to be an R7 Xaw!) may
*
* eliminate this file or at least these functions entirely.
*
diff --git a/include/X11/Xaw3d/Paned.h b/include/X11/Xaw3d/Paned.h
index 0749fa0..d268879 100644
--- a/include/X11/Xaw3d/Paned.h
+++ b/include/X11/Xaw3d/Paned.h
@@ -103,7 +103,7 @@ SOFTWARE.
** These resources now are set to the vertical or horizontal cursor
depending upon orientation, by default. If a value is specified here
- then that cursor will be used reguardless of orientation.
+ then that cursor will be used regardless of orientation.
CONSTRAINT RESOURCES:
diff --git a/include/X11/Xaw3d/ScrollbarP.h b/include/X11/Xaw3d/ScrollbarP.h
index d7458a0..12a117c 100644
--- a/include/X11/Xaw3d/ScrollbarP.h
+++ b/include/X11/Xaw3d/ScrollbarP.h
@@ -78,7 +78,7 @@ typedef struct {
float shown; /* What percent is shown in the win */
Dimension length; /* either height or width */
Dimension thickness; /* either width or height */
- Dimension min_thumb; /* minium size for the thumb. */
+ Dimension min_thumb; /* minimum size for the thumb. */
float picked; /* How much of the thumb is picked *
* when scrolling starts */
diff --git a/include/X11/Xaw3d/SmeBSBP.h b/include/X11/Xaw3d/SmeBSBP.h
index 0bf9489..893620c 100644
--- a/include/X11/Xaw3d/SmeBSBP.h
+++ b/include/X11/Xaw3d/SmeBSBP.h
@@ -81,7 +81,7 @@ typedef struct {
/* private resources. */
Boolean set_values_area_cleared; /* Remember if we need to unhighlight. */
- GC norm_gc; /* noral color gc. */
+ GC norm_gc; /* normal color gc. */
GC rev_gc; /* reverse color gc. */
GC norm_gray_gc; /* Normal color (grayed out) gc. */
GC invert_gc; /* gc for flipping colors. */
diff --git a/include/X11/Xaw3d/Text.h b/include/X11/Xaw3d/Text.h
index beef8ab..9655715 100644
--- a/include/X11/Xaw3d/Text.h
+++ b/include/X11/Xaw3d/Text.h
@@ -268,7 +268,7 @@ extern void XawTextDisplayCaret(
_XFUNCPROTOEND
/*
- * For R3 compatability only.
+ * For R3 compatibility only.
*/
#include <X11/Xaw3d/AsciiSrc.h>
diff --git a/include/X11/Xaw3d/TextP.h b/include/X11/Xaw3d/TextP.h
index 2f791c0..af657a3 100644
--- a/include/X11/Xaw3d/TextP.h
+++ b/include/X11/Xaw3d/TextP.h
@@ -132,7 +132,7 @@ typedef struct _XawTextMargin {
struct SearchAndReplace {
Boolean selection_changed; /* flag so that the selection cannot be
changed out from underneath query-replace.*/
- Widget search_popup; /* The poppup widget that allows searches.*/
+ Widget search_popup; /* The popup widget that allows searches.*/
Widget label1; /* The label widgets for the search window. */
Widget label2;
Widget left_toggle; /* The left search toggle radioGroup. */
diff --git a/include/X11/Xaw3d/TextSink.h b/include/X11/Xaw3d/TextSink.h
index 80d0dd3..dbf96d1 100644
--- a/include/X11/Xaw3d/TextSink.h
+++ b/include/X11/Xaw3d/TextSink.h
@@ -89,7 +89,7 @@ _XFUNCPROTOBEGIN
* x, y - location to start drawing text.
* pos1, pos2 - location of starting and ending points
* in the text buffer.
- * highlight - hightlight this text?
+ * highlight - highlight this text?
* Returns: none.
*
* This function doesn't actually display anything, it is only a place
@@ -199,7 +199,7 @@ extern void XawTextSinkFindPosition(
* fromX - x location of starting Position.
* toPos - end Position.
* resWidth - Distance between fromPos and toPos.
- * resPos - Acutal toPos used.
+ * resPos - Actual toPos used.
* resHeight - Height required by this text.
* Returns: none.
*/
@@ -215,7 +215,7 @@ extern void XawTextSinkFindDistance (
);
/* Function Name: XawTextSinkResolve
- * Description: Resloves a location to a position.
+ * Description: Resolves a location to a position.
* Arguments: w - the TextSink Object.
* pos - a reference Position.
* fromx - a reference Location.
@@ -250,7 +250,7 @@ extern int XawTextSinkMaxLines(
);
/* Function Name: XawTextSinkMaxHeight
- * Description: Finds the Minium height that will contain a given number
+ * Description: Finds the Minimum height that will contain a given number
* lines.
* Arguments: w - the TextSink Object.
* lines - the number of lines.
diff --git a/include/X11/Xaw3d/TextSrc.h b/include/X11/Xaw3d/TextSrc.h
index ecba9c9..49acd46 100644
--- a/include/X11/Xaw3d/TextSrc.h
+++ b/include/X11/Xaw3d/TextSrc.h
@@ -97,7 +97,7 @@ _XFUNCPROTOBEGIN
/* Function Name: XawTextSourceRead
* Description: This function reads the source.
* Arguments: w - the TextSrc Object.
- * pos - position of the text to retreive.
+ * pos - position of the text to retrieve.
* RETURNED text - text block that will contain returned text.
* length - maximum number of characters to read.
* Returns: The number of characters read into the buffer.
@@ -132,7 +132,7 @@ extern int XawTextSourceReplace (
* position - the position to start scanning.
* type - type of thing to scan for.
* dir - direction to scan.
- * count - which occurance if this thing to search for.
+ * count - which occurrence of this thing to search for.
* include - whether or not to include the character found in
* the position that is returned.
* Returns: The position of the text.
@@ -158,7 +158,7 @@ extern XawTextPosition XawTextSourceScan(
);
/* Function Name: XawTextSourceSearch
- * Description: Searchs the text source for the text block passed
+ * Description: Searches the text source for the text block passed
* Arguments: w - the TextSource Object.
* position - the position to start scanning.
* dir - direction to scan.
@@ -183,7 +183,7 @@ extern XawTextPosition XawTextSourceSearch(
* Arguments: w - the TextSrc object.
* selection - the current selection atom.
* target - the current target atom.
- * type - the type to conver the selection to.
+ * type - the type to convert the selection to.
* RETURNED value, length - the return value that has been converted.
* RETURNED format - the format of the returned value.
* Returns: TRUE if the selection has been converted.