From f0b589b685cc3d9f684d9423250f798a8f93142f Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 23 Jul 2020 10:20:54 -0700 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- Bitmap.c | 2 +- README.md | 2 +- ReqMach.c | 6 +++--- man/bitmap.man | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Bitmap.c b/Bitmap.c index af7cac5..e168876 100644 --- a/Bitmap.c +++ b/Bitmap.c @@ -1389,7 +1389,7 @@ BWZoomIn(Widget w, BW->bitmap.mark.to_x = NotSet; BW->bitmap.mark.to_y = NotSet; BW->bitmap.zooming = True; - BW->bitmap.grid = True; /* potencially true, could use a resource here */ + BW->bitmap.grid = True; /* potentially true, could use a resource here */ FixHotSpot(BW); diff --git a/README.md b/README.md index 22003c1..9b53869 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Xorg mailing list: https://lists.x.org/mailman/listinfo/xorg -The master development code repository can be found at: +The primary development code repository can be found at: https://gitlab.freedesktop.org/xorg/app/bitmap diff --git a/ReqMach.c b/ReqMach.c index 4ba1a76..1a27f02 100644 --- a/ReqMach.c +++ b/ReqMach.c @@ -100,7 +100,7 @@ BWAddRequest(Widget w, BWRequest name, Boolean trap, /* * Engages the request designated by the current parameter. - * Returnes TRUE if the request has an engage function and FALSE otherwise. + * Returns TRUE if the request has an engage function and FALSE otherwise. */ static Boolean Engage(BitmapWidget BW, Cardinal current) @@ -127,7 +127,7 @@ Engage(BitmapWidget BW, Cardinal current) Boolean BWRemoveRequest(); */ /* - * Scans down the request stack removing all requests untill it finds + * Scans down the request stack removing all requests until it finds * one to be trapped. */ static void @@ -152,7 +152,7 @@ TrappingLoop(BitmapWidget BW) } /* * Terimantes the current request and continues with next request if con = TRUE - * Returnes TRUE if there is any number of requests left on the stack. + * Returns TRUE if there is any number of requests left on the stack. */ Boolean BWTerminateRequest(Widget w, Boolean cont) diff --git a/man/bitmap.man b/man/bitmap.man index 31f94d7..924b8b3 100644 --- a/man/bitmap.man +++ b/man/bitmap.man @@ -176,7 +176,7 @@ To edit a bitmap image simply click on one of the buttons with drawing commands (\fBPoint, Curve, Line, Rectangle,\fP etc.) and move the pointer into the bitmap grid window. Press one of the buttons on your mouse and the appropriate action will take place. You can either set, -clear or invert the gird squares. Setting a grid square corresponds +clear or invert the grid squares. Setting a grid square corresponds to setting a bit in the bitmap image to 1. Clearing a grid square corresponds to setting a bit in the bitmap image to 0. Inverting a grid square corresponds to changing a bit in the bitmap image from 0 to @@ -323,7 +323,7 @@ is slow or\fI bitmap\fP receives very few mouse motion events, it might behave quite strangely. .TP 4 .B Line -This command will change the gird squares in a line between two squares. +This command will change the grid squares in a line between two squares. Once you press a mouse button in the grid window,\fI bitmap\fP will highlight the line from the square where the mouse button was initially pressed to the square where the mouse pointer is located. By releasing the @@ -331,7 +331,7 @@ mouse button you will cause the change to take effect, and the highlighted line will disappear. .TP 4 .B Rectangle -This command will change the gird squares in a rectangle between two squares. +This command will change the grid squares in a rectangle between two squares. Once you press a mouse button in the grid window,\fI bitmap\fP will highlight the rectangle from the square where the mouse button was initially pressed to the square where the mouse pointer is located. By releasing the @@ -343,7 +343,7 @@ This command is identical to\fB Rectangle\fP, except at the end the rectangle will be filled rather than outlined. .TP 4 .B Circle -This command will change the gird squares in a circle between two squares. +This command will change the grid squares in a circle between two squares. Once you press a mouse button in the grid window,\fI bitmap\fP will highlight the circle from the square where the mouse button was initially pressed to the square where the mouse pointer is located. By releasing the -- cgit v1.2.3