summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvincentdarley <vincentdarley>2002-07-18 09:35:15 (GMT)
committervincentdarley <vincentdarley>2002-07-18 09:35:15 (GMT)
commitb027a144a0fc7c96a3af713e8c0fd34dca0bdfd5 (patch)
tree549632ed0e910f42b1511a4755a2dde4b818e892
parent4f8e65e9ba6d594c60bf3928d08a416b44ff4c4c (diff)
downloadtk-b027a144a0fc7c96a3af713e8c0fd34dca0bdfd5.zip
tk-b027a144a0fc7c96a3af713e8c0fd34dca0bdfd5.tar.gz
tk-b027a144a0fc7c96a3af713e8c0fd34dca0bdfd5.tar.bz2
key event problems - no static
-rw-r--r--macosx/tkMacOSXKeyEvent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c
index aba93ea..e023b53 100644
--- a/macosx/tkMacOSXKeyEvent.c
+++ b/macosx/tkMacOSXKeyEvent.c
@@ -98,7 +98,7 @@ int TkMacOSXProcessKeyboardEvent(
TkMacOSXEvent * eventPtr,
MacEventStatus * statusPtr)
{
- static UInt32 savedKeyCode;
+ /* static */ UInt32 savedKeyCode = 0;
OSStatus status;
KeyEventData keyEventData;
Window window;