summaryrefslogtreecommitdiffstats
path: root/generic/tkInt.h
diff options
context:
space:
mode:
authormarc_culler <marc.culler@gmail.com>2020-05-15 13:48:56 (GMT)
committermarc_culler <marc.culler@gmail.com>2020-05-15 13:48:56 (GMT)
commit73e727a42c736c71ad18734999ed2751a9e6f646 (patch)
tree2e44e02ad7612a4419ea5750fd138b1634d9c2da /generic/tkInt.h
parent65a92e1ff12c799847d876490cb3a7501ce65ba6 (diff)
parentdc8dcbced6e03edb40b76e2108e6a4ecf6ff37fd (diff)
downloadtk-73e727a42c736c71ad18734999ed2751a9e6f646.zip
tk-73e727a42c736c71ad18734999ed2751a9e6f646.tar.gz
tk-73e727a42c736c71ad18734999ed2751a9e6f646.tar.bz2
Merge 8.6
Diffstat (limited to 'generic/tkInt.h')
-rw-r--r--generic/tkInt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tkInt.h b/generic/tkInt.h
index 023cac4..744844f 100644
--- a/generic/tkInt.h
+++ b/generic/tkInt.h
@@ -854,10 +854,10 @@ typedef struct TkWindow {
typedef struct {
XKeyEvent keyEvent; /* The real event from X11. */
-#if defined(_WIN32)
+#ifdef _WIN32
char trans_chars[XMaxTransChars];
- /* translated characters */
- unsigned char nbytes; /* Length of trans_chars. */
+ /* translated characters */
+ unsigned char nbytes;
#else
char *charValuePtr; /* A pointer to a string that holds the key's
* %A substitution text (before backslash