summaryrefslogtreecommitdiffstats
path: root/win/tkWinDraw.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-02 09:28:05 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-07-02 09:28:05 (GMT)
commit8d9bcf37ddbe36e3fd50042d8dfb15bc5a6c2d12 (patch)
treec3e3547bdaa0b24960c7befe661373841b11c38e /win/tkWinDraw.c
parent7b6e25bd97a76f688ed363cac924ea99a83fa5f4 (diff)
downloadtk-8d9bcf37ddbe36e3fd50042d8dfb15bc5a6c2d12.zip
tk-8d9bcf37ddbe36e3fd50042d8dfb15bc5a6c2d12.tar.gz
tk-8d9bcf37ddbe36e3fd50042d8dfb15bc5a6c2d12.tar.bz2
Don't use "struct ThreadSpecificData", while the type name "ThreadSpecificData" is already sufficient.
Diffstat (limited to 'win/tkWinDraw.c')
-rw-r--r--win/tkWinDraw.c2
1 files changed, 1 insertions, 1 deletions
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;