summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-13 12:58:29 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-09-13 13:07:39 -0700
commiteb9adbd41bbd200be1a6baa1e05cecd41dd89f46 (patch)
tree663895fb879ae5abacda08f74421f2d266947a2d /src
parentb4e47d3807da4f204dbee8682dac98318f913bd0 (diff)
More typo fixes
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/Clip.c4
-rw-r--r--src/CmapAlloc.c2
-rw-r--r--src/EditresCom.c4
-rw-r--r--src/RdBitF.c2
-rw-r--r--src/ShapeWidg.c4
5 files changed, 8 insertions, 8 deletions
diff --git a/src/Clip.c b/src/Clip.c
index 4797562..ae9e132 100644
--- a/src/Clip.c
+++ b/src/Clip.c
@@ -252,7 +252,7 @@ XmuAreaNot(XmuArea *area, int x1, int y1, int x2, int y2)
* or - or operation if true, else xor operation
*
* Description:
- * Executes Or (Union) or Xor (Reverse intesection) of the areas
+ * Executes Or (Union) or Xor (Reverse intersection) of the areas
*/
XmuArea *
XmuAreaOrXor(XmuArea *dst, XmuArea *src, Bool or)
@@ -1017,7 +1017,7 @@ XmuScanlineAndSegment(XmuScanline *dst, XmuSegment *src)
* dst - destination scanline
* src - source segment
*
- * Descriptipn:
+ * Description:
* (input) +------------+ +----------+ +-----------+
* (src) +------------------------+
* (output) +---+ +--+ +-+ +-----------+
diff --git a/src/CmapAlloc.c b/src/CmapAlloc.c
index 31cc153..0d259d2 100644
--- a/src/CmapAlloc.c
+++ b/src/CmapAlloc.c
@@ -205,7 +205,7 @@ default_allocation(XVisualInfo *vinfo, unsigned long *red,
* maximum blue value = floor(cube_root(n)) - 1;
* maximum green value = n / ((# red values) * (# blue values)) - 1;
* Which, on a GPX, allows for 252 entries in the best map, out of 254
- * defineable colormap entries.
+ * definable colormap entries.
*/
static void
diff --git a/src/EditresCom.c b/src/EditresCom.c
index 1d1625f..07c0d47 100644
--- a/src/EditresCom.c
+++ b/src/EditresCom.c
@@ -1780,7 +1780,7 @@ _XEditResResetStream(ProtocolStream *stream)
*/
/*
* Function:
- * _XEditResGetg8
+ * _XEditResGet8
*
* Parameters:
* stream - protocol stream
@@ -1971,7 +1971,7 @@ _XEditResGetWidgetInfo(ProtocolStream *stream, WidgetInfo *info)
************************************************************/
/*
* Function:
- * CvStringToBlock
+ * CvtStringToBlock
*
* Parameters:
* dpy - display
diff --git a/src/RdBitF.c b/src/RdBitF.c
index 51f6e2a..df379c5 100644
--- a/src/RdBitF.c
+++ b/src/RdBitF.c
@@ -144,7 +144,7 @@ NextInt(FILE *fstream)
* The data returned by the following routine is always in left-most byte
* first and left-most bit first. If it doesn't return BitmapSuccess then
* its arguments won't have been touched. This routine should look as much
- * like the Xlib routine XReadBitmapfile as possible.
+ * like the Xlib routine XReadBitmapFile as possible.
*/
int
XmuReadBitmapData(FILE *fstream, unsigned int *width, unsigned int *height,
diff --git a/src/ShapeWidg.c b/src/ShapeWidg.c
index 3ca7116..f093a6b 100644
--- a/src/ShapeWidg.c
+++ b/src/ShapeWidg.c
@@ -178,9 +178,9 @@ ShapeOval(Widget w)
*
* Parameters:
* w - widget to be reshaped
- * ellipse - True if shape to ellise, rounded rectangle otherwise
+ * ellipse - True if shape to ellipse, rounded rectangle otherwise
* ew - horizontal radius of rounded rectangle
- * eh - vertical radius of rouded rectangle
+ * eh - vertical radius of rounded rectangle
*
* Description:
* Based on the ellipse parameter, gives the widget a elliptical