Attachment "f3c5467f07.patch" to
ticket [f3c5467f]
added by
chrstphrchvz
2019-07-01 07:52:29.
diff --git doc/panedwindow.n doc/panedwindow.n
index 40997a943..9fc2b7261 100644
--- doc/panedwindow.n
+++ 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 doc/tk_mac.n doc/tk_mac.n
index 1694385bb..4c825a545 100644
--- doc/tk_mac.n
+++ doc/tk_mac.n
@@ -65,7 +65,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 generic/tk3d.c generic/tk3d.c
index bcc56731b..987bace8d 100644
--- generic/tk3d.c
+++ 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 generic/tkGrid.c generic/tkGrid.c
index 4e0882a40..be15c1470 100644
--- generic/tkGrid.c
+++ 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 generic/tkImgGIF.c generic/tkImgGIF.c
index 0c32047fe..76e48d4d6 100644
--- generic/tkImgGIF.c
+++ 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 generic/tkMenu.c generic/tkMenu.c
index 3a2d98745..2157b4011 100644
--- generic/tkMenu.c
+++ 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 generic/tkMenu.h generic/tkMenu.h
index 4cc3d1b30..ae69d96ef 100644
--- generic/tkMenu.h
+++ 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 generic/tkObj.c generic/tkObj.c
index 46f2da5c0..4141fa6e3 100644
--- generic/tkObj.c
+++ 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 generic/tkOldTest.c generic/tkOldTest.c
index f78ebbaa0..948883d70 100644
--- generic/tkOldTest.c
+++ 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 generic/tkTest.c generic/tkTest.c
index 44fec0d8a..a8929b925 100644
--- generic/tkTest.c
+++ 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
diff --git macosx/tkMacOSXFont.c macosx/tkMacOSXFont.c
index 0e05ae529..fb71e8531 100644
--- macosx/tkMacOSXFont.c
+++ 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, [email protected]
diff --git macosx/tkMacOSXFont.h macosx/tkMacOSXFont.h
index 08380c4ed..7fc9265f8 100644
--- macosx/tkMacOSXFont.h
+++ 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 tests/menuDraw.test tests/menuDraw.test
index 1dfa5d730..0d7a0491e 100644
--- tests/menuDraw.test
+++ 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 win/tkWinDialog.c win/tkWinDialog.c
index 4ad3b9eb4..a573e92b2 100644
--- win/tkWinDialog.c
+++ win/tkWinDialog.c
@@ -1714,7 +1714,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)
@@ -2716,7 +2716,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 win/tkWinFont.c win/tkWinFont.c
index 6e8d3bd19..1a929e9c3 100644
--- win/tkWinFont.c
+++ 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 win/tkWinWm.c win/tkWinWm.c
index 5bb23d1c3..4c2c6b977 100644
--- win/tkWinWm.c
+++ win/tkWinWm.c
@@ -4371,7 +4371,7 @@ WmIconphotoCmd(
iconInfo.fIcon = TRUE;
/*
- * Create device-independant color bitmap.
+ * Create device-independent color bitmap.
*/
ZeroMemory(&bmInfo, sizeof bmInfo);
diff --git xlib/xgc.c xlib/xgc.c
index b85fe392b..9eaf7aef2 100644
--- xlib/xgc.c
+++ 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.
*
*----------------------------------------------------------------------
*/