summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorculler <culler>2019-07-13 19:07:18 (GMT)
committerculler <culler>2019-07-13 19:07:18 (GMT)
commitfa804c72791520497575cf5f20814297756a96bb (patch)
tree61b10f048d9b35aab32da292934c1b4a4da7e1b4 /win
parent0b5d89c392a4d6e49fabdf2f4be45ee6ae561545 (diff)
parent287df04fb38894ffdeb0e91adcbcdf3300cbbd04 (diff)
downloadtk-fa804c72791520497575cf5f20814297756a96bb.zip
tk-fa804c72791520497575cf5f20814297756a96bb.tar.gz
tk-fa804c72791520497575cf5f20814297756a96bb.tar.bz2
Merge 8.6
Diffstat (limited to 'win')
-rw-r--r--win/tkWinButton.c2
-rw-r--r--win/tkWinDialog.c6
-rw-r--r--win/tkWinDraw.c2
-rw-r--r--win/tkWinEmbed.c2
-rw-r--r--win/tkWinFont.c4
-rw-r--r--win/tkWinMenu.c2
-rw-r--r--win/tkWinWindow.c2
-rw-r--r--win/tkWinWm.c4
-rw-r--r--win/tkWinX.c2
9 files changed, 13 insertions, 13 deletions
diff --git a/win/tkWinButton.c b/win/tkWinButton.c
index d03a391..95b4fe4 100644
--- a/win/tkWinButton.c
+++ b/win/tkWinButton.c
@@ -63,7 +63,7 @@ enum {
* widget classes.
*/
-typedef struct ThreadSpecificData {
+typedef struct {
BITMAPINFOHEADER *boxesPtr; /* Information about the bitmap. */
DWORD *boxesPalette; /* Pointer to color palette. */
LPSTR boxesBits; /* Pointer to bitmap data. */
diff --git a/win/tkWinDialog.c b/win/tkWinDialog.c
index 4ad3b9e..743720d 100644
--- a/win/tkWinDialog.c
+++ b/win/tkWinDialog.c
@@ -48,7 +48,7 @@
#endif
#endif /* BFFM_VALIDATEFAILED */
-typedef struct ThreadSpecificData {
+typedef struct {
int debugFlag; /* Flags whether we should output debugging
* information while displaying a builtin
* dialog. */
@@ -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/tkWinDraw.c b/win/tkWinDraw.c
index e13a5e5..4341424 100644
--- a/win/tkWinDraw.c
+++ b/win/tkWinDraw.c
@@ -103,7 +103,7 @@ const int tkpWinBltModes[] = {
typedef BOOL (CALLBACK *WinDrawFunc)(HDC dc, const POINT *points, int npoints);
-typedef struct ThreadSpecificData {
+typedef struct {
POINT *winPoints; /* Array of points that is reused. */
int nWinPoints; /* Current size of point array. */
} ThreadSpecificData;
diff --git a/win/tkWinEmbed.c b/win/tkWinEmbed.c
index 6c80964..ca293fe 100644
--- a/win/tkWinEmbed.c
+++ b/win/tkWinEmbed.c
@@ -34,7 +34,7 @@ typedef struct Container {
* process. */
} Container;
-typedef struct ThreadSpecificData {
+typedef struct {
Container *firstContainerPtr;
/* First in list of all containers managed by
* this process. */
diff --git a/win/tkWinFont.c b/win/tkWinFont.c
index 6e8d3bd..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.
@@ -168,7 +168,7 @@ static const TkStateMap systemMap[] = {
{-1, NULL}
};
-typedef struct ThreadSpecificData {
+typedef struct {
FontFamily *fontFamilyList; /* The list of font families that are
* currently loaded. As screen fonts are
* loaded, this list grows to hold information
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 3223759..3aa8a61 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -85,7 +85,7 @@ static int indicatorDimensions[2];
static BOOL showMenuAccelerators;
-typedef struct ThreadSpecificData {
+typedef struct {
int inPostMenu; /* We cannot be re-entrant like X Windows. */
WORD lastCommandID; /* The last command ID we allocated. */
HWND menuHWND; /* A window to service popup-menu messages
diff --git a/win/tkWinWindow.c b/win/tkWinWindow.c
index 385e72b..445ff9c 100644
--- a/win/tkWinWindow.c
+++ b/win/tkWinWindow.c
@@ -13,7 +13,7 @@
#include "tkWinInt.h"
#include "tkBusy.h"
-typedef struct ThreadSpecificData {
+typedef struct {
int initialized; /* 0 means table below needs initializing. */
Tcl_HashTable windowTable; /* The windowTable maps from HWND to Tk_Window
* handles. */
diff --git a/win/tkWinWm.c b/win/tkWinWm.c
index 5bb23d1..5bcf1ad 100644
--- a/win/tkWinWm.c
+++ b/win/tkWinWm.c
@@ -367,7 +367,7 @@ static const Tk_GeomMgr wmMgrType = {
NULL, /* lostSlaveProc */
};
-typedef struct ThreadSpecificData {
+typedef struct {
HPALETTE systemPalette; /* System palette; refers to the currently
* installed foreground logical palette. */
TkWindow *createWindow; /* Window that is being constructed. This
@@ -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/win/tkWinX.c b/win/tkWinX.c
index e7428e5..fd576a4 100644
--- a/win/tkWinX.c
+++ b/win/tkWinX.c
@@ -86,7 +86,7 @@ static Tcl_Encoding unicodeEncoding = NULL;
* specific date for threads.
*/
-typedef struct ThreadSpecificData {
+typedef struct {
TkDisplay *winDisplay; /* TkDisplay structure that represents Windows
* screen. */
int updatingClipboard; /* If 1, we are updating the clipboard. */