summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-07-02 19:36:19 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-07-02 19:36:19 (GMT)
commit8a3e8fe5694a99d5b91fb75803a6976aa259eb66 (patch)
treed8d2e398064aea801ebceddb89eccef4e6988240 /generic
parent8d9bcf37ddbe36e3fd50042d8dfb15bc5a6c2d12 (diff)
downloadtk-8a3e8fe5694a99d5b91fb75803a6976aa259eb66.zip
tk-8a3e8fe5694a99d5b91fb75803a6976aa259eb66.tar.gz
tk-8a3e8fe5694a99d5b91fb75803a6976aa259eb66.tar.bz2
Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez)
Diffstat (limited to 'generic')
-rw-r--r--generic/tk3d.c2
-rw-r--r--generic/tkGrid.c4
-rw-r--r--generic/tkImgGIF.c4
-rw-r--r--generic/tkMenu.c2
-rw-r--r--generic/tkMenu.h2
-rw-r--r--generic/tkObj.c4
-rw-r--r--generic/tkOldTest.c2
-rw-r--r--generic/tkTest.c2
8 files changed, 11 insertions, 11 deletions
diff --git a/generic/tk3d.c b/generic/tk3d.c
index bcc5673..987bace 100644
--- a/generic/tk3d.c
+++ b/generic/tk3d.c
@@ -1315,7 +1315,7 @@ Tk_Get3DBorderFromObj(
*
* Side effects:
* If no error occurs, a blank internal format for a border value is
- * intialized. The final form cannot be done without a Tk_Window.
+ * initialized. The final form cannot be done without a Tk_Window.
*
*----------------------------------------------------------------------
*/
diff --git a/generic/tkGrid.c b/generic/tkGrid.c
index 4e0882a..be15c14 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -1913,7 +1913,7 @@ ResolveConstraints(
GridLayout *layoutPtr; /* Temporary layout structure. */
int requiredSize; /* The natural size of the grid (pixels).
* This is the minimum size needed to
- * accomodate all of the slaves at their
+ * accommodate all of the slaves at their
* requested sizes. */
int offset; /* The pixel offset of the right edge of the
* current slot from the beginning of the
@@ -2486,7 +2486,7 @@ GetGrid(
* Side effects:
* The width and height arguments are filled in the master data
* structure. Additional space is allocated for the constraints to
- * accomodate the offsets.
+ * accommodate the offsets.
*
*----------------------------------------------------------------------
*/
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 0c32047..76e48d4 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -63,9 +63,9 @@ typedef struct mFile {
* Most data in a GIF image is binary and is treated as such. However, a few
* key bits are stashed in ASCII. If we try to compare those pieces to the
* char they represent, it will fail on any non-ASCII (eg, EBCDIC) system. To
- * accomodate these systems, we test against the numeric value of the ASCII
+ * accommodate these systems, we test against the numeric value of the ASCII
* characters instead of the characters themselves. This is encoding
- * independant.
+ * independent.
*/
static const char GIF87a[] = { /* ASCII GIF87a */
diff --git a/generic/tkMenu.c b/generic/tkMenu.c
index d755096..5fd8b80 100644
--- a/generic/tkMenu.c
+++ b/generic/tkMenu.c
@@ -90,7 +90,7 @@ static Tcl_ThreadDataKey dataKey;
/*
* The following flag indicates whether the process-wide state for the Menu
- * module has been intialized. The Mutex protects access to that flag.
+ * module has been initialized. The Mutex protects access to that flag.
*/
static int menusInitialized;
diff --git a/generic/tkMenu.h b/generic/tkMenu.h
index 4cc3d1b..ae69d96 100644
--- a/generic/tkMenu.h
+++ b/generic/tkMenu.h
@@ -120,7 +120,7 @@ typedef struct TkMenuEntry {
* always 0 for tearoff and separator
* entries. */
int hideMargin; /* If this is 0, then the item has enough
- * margin to accomodate a standard check mark
+ * margin to accommodate a standard check mark
* and a default right margin. If this is 1,
* then the item has no such margins, and
* checkbuttons and radiobuttons with this set
diff --git a/generic/tkObj.c b/generic/tkObj.c
index 94d9879..559f0e2 100644
--- a/generic/tkObj.c
+++ b/generic/tkObj.c
@@ -96,7 +96,7 @@ static int SetWindowFromAny(Tcl_Interp *interp, Tcl_Obj *objPtr);
/*
* The following structure defines the implementation of the "pixel" Tcl
* object, used for measuring distances. The pixel object remembers its
- * initial display-independant settings.
+ * initial display-independent settings.
*/
static const Tcl_ObjType pixelObjType = {
@@ -110,7 +110,7 @@ static const Tcl_ObjType pixelObjType = {
/*
* The following structure defines the implementation of the "pixel" Tcl
* object, used for measuring distances. The pixel object remembers its
- * initial display-independant settings.
+ * initial display-independent settings.
*/
static const Tcl_ObjType mmObjType = {
diff --git a/generic/tkOldTest.c b/generic/tkOldTest.c
index f78ebba..948883d 100644
--- a/generic/tkOldTest.c
+++ b/generic/tkOldTest.c
@@ -91,7 +91,7 @@ static int ImageObjCmd(ClientData dummy,
*
* TkOldTestInit --
*
- * This function performs intialization for the Tk test suite
+ * This function performs initialization for the Tk test suite
* extensions for testing support for legacy interfaces.
*
* Results:
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 44fec0d..a8929b9 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -212,7 +212,7 @@ static void TrivialEventProc(ClientData clientData,
*
* Tktest_Init --
*
- * This function performs intialization for the Tk test suite exensions.
+ * This function performs initialization for the Tk test suite extensions.
*
* Results:
* Returns a standard Tcl completion code, and leaves an error message in