summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2019-07-02 19:36:37 (GMT)
committerfvogel <fvogelnew1@free.fr>2019-07-02 19:36:37 (GMT)
commit2ee70a963482c6282908c65752dc376fee64f391 (patch)
tree4887785effdcc7c3fe4c3f8d1c4764b553223f6d
parent2e99996e18b1b15181b730a451f5e6107bc412fd (diff)
parent8a3e8fe5694a99d5b91fb75803a6976aa259eb66 (diff)
downloadtk-2ee70a963482c6282908c65752dc376fee64f391.zip
tk-2ee70a963482c6282908c65752dc376fee64f391.tar.gz
tk-2ee70a963482c6282908c65752dc376fee64f391.tar.bz2
Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez)
-rw-r--r--doc/panedwindow.n2
-rw-r--r--doc/tk_mac.n2
-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
-rw-r--r--macosx/tkMacOSXFont.c2
-rw-r--r--macosx/tkMacOSXFont.h2
-rw-r--r--tests/menuDraw.test2
-rw-r--r--win/tkWinDialog.c4
-rw-r--r--win/tkWinFont.c2
-rw-r--r--win/tkWinWm.c2
-rw-r--r--xlib/xgc.c4
17 files changed, 22 insertions, 22 deletions
diff --git a/doc/panedwindow.n b/doc/panedwindow.n
index 40997a9..9fc2b72 100644
--- a/doc/panedwindow.n
+++ b/doc/panedwindow.n
@@ -331,7 +331,7 @@ fill, and the containing toplevel is resized), space is added to the final
(rightmost or bottommost) pane in the window.
.PP
Unlike slave windows managed by e.g. pack or grid, the panes managed by a
-panedwindow do not change width or height to accomodate changes in the
+panedwindow do not change width or height to accommodate changes in the
requested widths or heights of the panes, once these have become mapped.
Therefore it may be advisable, particularly when creating layouts
interactively, to not add a pane to the panedwindow widget until after the
diff --git a/doc/tk_mac.n b/doc/tk_mac.n
index 7195339..da960ff 100644
--- a/doc/tk_mac.n
+++ b/doc/tk_mac.n
@@ -81,7 +81,7 @@ proc ::tk::mac::ShowPreferences {} {
\fB::tk::mac::OpenApplication\fR
.
If a proc of this name is defined, this proc fill fire when your application
-is intially opened. It is the default Apple Event handler for
+is initially opened. It is the default Apple Event handler for
kAEOpenApplication,
.QW oapp .
.TP
diff --git a/generic/tk3d.c b/generic/tk3d.c
index 92a7803..9ed419a 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 cedf5f9..62a0447 100644
--- a/generic/tkGrid.c
+++ b/generic/tkGrid.c
@@ -1912,7 +1912,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
@@ -2485,7 +2485,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 cebf8e3..c16ca11 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 8385aba..4d81978 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 6843861..b759fb6 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 de92bdf..1a98db6 100644
--- a/generic/tkObj.c
+++ b/generic/tkObj.c
@@ -100,7 +100,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 = {
@@ -114,7 +114,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 18f248e..e697bf3 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -218,7 +218,7 @@ static int TestPhotoStringMatchCmd(ClientData dummy,
*
* 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
diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c
index 7f1cc72..ee2ddc4 100644
--- a/macosx/tkMacOSXFont.c
+++ b/macosx/tkMacOSXFont.c
@@ -1,7 +1,7 @@
/*
* tkMacOSXFont.c --
*
- * Contains the Macintosh implementation of the platform-independant font
+ * Contains the Macintosh implementation of the platform-independent font
* package interface.
*
* Copyright 2002-2004 Benjamin Riefenstahl, Benjamin.Riefenstahl@epost.de
diff --git a/macosx/tkMacOSXFont.h b/macosx/tkMacOSXFont.h
index 08380c4..7fc9265 100644
--- a/macosx/tkMacOSXFont.h
+++ b/macosx/tkMacOSXFont.h
@@ -1,7 +1,7 @@
/*
* tkMacOSXFont.h --
*
- * Contains the Macintosh implementation of the platform-independant
+ * Contains the Macintosh implementation of the platform-independent
* font package interface.
*
* Copyright (c) 1990-1994 The Regents of the University of California.
diff --git a/tests/menuDraw.test b/tests/menuDraw.test
index ec9dae5..9382974 100644
--- a/tests/menuDraw.test
+++ b/tests/menuDraw.test
@@ -20,7 +20,7 @@ test menuDraw-1.1 {TkMenuInitializeDrawingFields} -setup {
} -result {.m1}
-test menuDraw-2.1 {TkIntializeMenuEntryDrawingFields} -setup {
+test menuDraw-2.1 {TkInitializeMenuEntryDrawingFields} -setup {
deleteWindows
} -body {
menu .m1
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 99bbb22..bbf49ca 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -1707,7 +1707,7 @@ static int GetFileNameXP(Tcl_Interp *interp, OFNOpts *optsPtr, enum OFNOper oper
/*
* We now allow FNERR_BUFFERTOOSMALL when multiselection is enabled. The
* filename buffer has been dynamically allocated by the OFN dialog
- * procedure to accomodate all selected files.
+ * procedure to accommodate all selected files.
*/
if ((winCode != 0)
@@ -2708,7 +2708,7 @@ ChooseDirectoryValidateProc(
case BFFM_INITIALIZED: {
/*
- * Directory browser intializing - tell it where to start from, user
+ * Directory browser initializing - tell it where to start from, user
* specified parameter.
*/
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index 62d2487..62c33ce 100644
--- a/win/tkWinFont.c
+++ b/win/tkWinFont.c
@@ -1,7 +1,7 @@
/*
* tkWinFont.c --
*
- * Contains the Windows implementation of the platform-independant font
+ * Contains the Windows implementation of the platform-independent font
* package interface.
*
* Copyright (c) 1994 Software Research Associates, Inc.
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 01e9f6a..c0f60d8 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -4365,7 +4365,7 @@ WmIconphotoCmd(
iconInfo.fIcon = TRUE;
/*
- * Create device-independant color bitmap.
+ * Create device-independent color bitmap.
*/
ZeroMemory(&bmInfo, sizeof bmInfo);
diff --git a/xlib/xgc.c b/xlib/xgc.c
index a1308f9..16a2205 100644
--- a/xlib/xgc.c
+++ b/xlib/xgc.c
@@ -117,7 +117,7 @@ XCreateGC(
/*
* In order to have room for a dash list, MAX_DASH_LIST_SIZE extra chars
* are defined, which is invisible from the outside. The list is assumed
- * to end with a 0-char, so this must be set explicitely during
+ * to end with a 0-char, so this must be set explicitly during
* initialization.
*/
@@ -453,7 +453,7 @@ XSetClipOrigin(
* None.
*
* Side effects:
- * Allocates or dealloates a TkpClipMask.
+ * Allocates or deallocates a TkpClipMask.
*
*----------------------------------------------------------------------
*/