diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-01-06 14:27:33 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-01-06 14:27:33 (GMT) |
commit | ef7b2a248d85365c8bfc78d1ef62475638b1a6bc (patch) | |
tree | 2bf91b084aeabf87fb0d82b502d49c6cb1e9e0cd | |
parent | ad585186aa2726d02510006e5a619be5b4021fc5 (diff) | |
download | tk-ef7b2a248d85365c8bfc78d1ef62475638b1a6bc.zip tk-ef7b2a248d85365c8bfc78d1ef62475638b1a6bc.tar.gz tk-ef7b2a248d85365c8bfc78d1ef62475638b1a6bc.tar.bz2 |
Oops
-rw-r--r-- | macosx/tkMacOSXKeyEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/tkMacOSXKeyEvent.c b/macosx/tkMacOSXKeyEvent.c index 4e081a0..8d85629 100644 --- a/macosx/tkMacOSXKeyEvent.c +++ b/macosx/tkMacOSXKeyEvent.c @@ -10,7 +10,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.29 2010/01/02 11:07:56 dkf Exp $ + * RCS: @(#) $Id: tkMacOSXKeyEvent.c,v 1.30 2010/01/06 14:27:33 dkf Exp $ */ #include "tkMacOSXPrivate.h" @@ -107,7 +107,7 @@ static NSModalSession modalSession = NULL; XEvent xEvent; - memset(xEvent, 0, sizeof(XEvent)); + memset(&xEvent, 0, sizeof(XEvent)); xEvent.xany.serial = LastKnownRequestProcessed(Tk_Display(tkwin)); xEvent.xany.send_event = false; xEvent.xany.display = Tk_Display(tkwin); |