From eb9adbd41bbd200be1a6baa1e05cecd41dd89f46 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 13 Sep 2022 12:58:29 -0700 Subject: More typo fixes Signed-off-by: Alan Coopersmith --- doc/Xmu.xml | 2 +- include/X11/Xmu/EditresP.h | 16 ++++++++-------- src/Clip.c | 4 ++-- src/CmapAlloc.c | 2 +- src/EditresCom.c | 4 ++-- src/RdBitF.c | 2 +- src/ShapeWidg.c | 4 ++-- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/doc/Xmu.xml b/doc/Xmu.xml index fdd60e0..1af467a 100644 --- a/doc/Xmu.xml +++ b/doc/Xmu.xml @@ -61,7 +61,7 @@ and widgets. This library is required by the Athena Widgets. Starting in XFree86 4.1.0, and incorporated into X11R6.7 and later releases, a subset of the functions that do not rely on the Athena Widgets (libXaw) -or X Toolkit Instrinsics (libXt) are provided in a second library, libXmuu. +or X Toolkit Intrinsics (libXt) are provided in a second library, libXmuu. diff --git a/include/X11/Xmu/EditresP.h b/include/X11/Xmu/EditresP.h index c606f81..cdb1d33 100644 --- a/include/X11/Xmu/EditresP.h +++ b/include/X11/Xmu/EditresP.h @@ -48,9 +48,9 @@ in this Software without prior written authorization from The Open Group. The binary protocol has the following format: - Card8: 8-bit unsingned integer - Card16: 16-bit unsingned integer - Card32: 32-bit unsingned integer + Card8: 8-bit unsigned integer + Card16: 16-bit unsigned integer + Card32: 32-bit unsigned integer Int16: 16-bit signed integer Window: 32-bit value Widget: 32-bit value @@ -59,7 +59,7 @@ in this Software without prior written authorization from The Open Group. [a][b][c] represent an exclusive list of choices. All widgets are passed as a list of widgets, containing the - full instance heirarch of this widget. The hierarchy is ordered + full instance heirarchy of this widget. The hierarchy is ordered from parent to child. Thus the first element of each list is the root of the widget tree (this makes verifying that the widget still exists, MUCH faster). @@ -128,7 +128,7 @@ in this Software without prior written authorization from The Open Group. window: Card32 toolkit: String8 - Send Widget Tree returns the toolkit type, and a fuly specified list + SendWidgetTree returns the toolkit type, and a fully specified list of widgets for each widget in the tree. This is enough information to completely reconstruct the entire widget hierarchy. @@ -194,7 +194,7 @@ in this Software without prior written authorization from The Open Group. Class: String8 Type: String8 ] - GetResource retrieves the kind, name, class and type for every + GetResources retrieves the kind, name, class, and type for every widget passed to it. If an error occurred with the resource fetch Error will be set to True for the given widget and a message is returned rather than the resource info. @@ -224,7 +224,7 @@ in this Software without prior written authorization from The Open Group. and border width for each widget specified. If an error occurred with the geometry fetch "Error" will be set to True for the given widget and a message is returned rather than the geometry info. - X an Y corrospond to the root coordinates of the upper left corner + X an Y correspond to the root coordinates of the upper left corner of the widget (outside the window border). FindChild: @@ -237,7 +237,7 @@ in this Software without prior written authorization from The Open Group. Widget: ListOfWidgets - Find Child returns a descendent of the widget specified that + FindChild returns a descendent of the widget specified that is at the root coordinates specified. NOTE: 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 -- cgit v1.2.3