From 8a3e8fe5694a99d5b91fb75803a6976aa259eb66 Mon Sep 17 00:00:00 2001 From: fvogel Date: Tue, 2 Jul 2019 19:36:19 +0000 Subject: Fix [f3c5467f07]: various spelling fixes (from Christopher Chavez) --- doc/panedwindow.n | 2 +- doc/tk_mac.n | 2 +- generic/tk3d.c | 2 +- generic/tkGrid.c | 4 ++-- generic/tkImgGIF.c | 4 ++-- generic/tkMenu.c | 2 +- generic/tkMenu.h | 2 +- generic/tkObj.c | 4 ++-- generic/tkOldTest.c | 2 +- generic/tkTest.c | 2 +- macosx/tkMacOSXFont.c | 2 +- macosx/tkMacOSXFont.h | 2 +- tests/menuDraw.test | 2 +- win/tkWinDialog.c | 4 ++-- win/tkWinFont.c | 2 +- win/tkWinWm.c | 2 +- xlib/xgc.c | 4 ++-- 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 e4ca695..bf338b6 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 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 diff --git a/macosx/tkMacOSXFont.c b/macosx/tkMacOSXFont.c index 0e05ae5..fb71e85 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 1dfa5d7..0d7a049 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 5116352..743720d 100644 --- a/win/tkWinDialog.c +++ b/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 a/win/tkWinFont.c b/win/tkWinFont.c index 33392d3..63ddff4 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 37f1dec..5bcf1ad 100644 --- a/win/tkWinWm.c +++ b/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 a/xlib/xgc.c b/xlib/xgc.c index b85fe39..9eaf7ae 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. * *---------------------------------------------------------------------- */ -- cgit v0.12