summaryrefslogtreecommitdiffstats
path: root/unix/tkUnixKey.c
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2020-01-28 21:05:28 (GMT)
committerfvogel <fvogelnew1@free.fr>2020-01-28 21:05:28 (GMT)
commit233af73726814665b09dc4fc4c814ab9663fbf57 (patch)
treeca59263ac29346c806658dec6973ec8e602fde97 /unix/tkUnixKey.c
parenta2c62965116d35647559acb442acb9a078d453fe (diff)
downloadtk-233af73726814665b09dc4fc4c814ab9663fbf57.zip
tk-233af73726814665b09dc4fc4c814ab9663fbf57.tar.gz
tk-233af73726814665b09dc4fc4c814ab9663fbf57.tar.bz2
Sigh...
Diffstat (limited to 'unix/tkUnixKey.c')
-rw-r--r--unix/tkUnixKey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tkUnixKey.c b/unix/tkUnixKey.c
index 95ce2c3..acad81f 100644
--- a/unix/tkUnixKey.c
+++ b/unix/tkUnixKey.c
@@ -130,7 +130,7 @@ TkpGetString(
* further Xlib function behavior might be undefined.
*/
- if (event->type != KeyPress && event->type != KeyRelease)) {
+ if (eventPtr->type != KeyPress && eventPtr->type != KeyRelease)) {
len = 0;
Tcl_DStringSetLength(dsPtr, len);
goto done;