summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2004-09-03 14:09:04 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2004-09-03 14:09:04 (GMT)
commitbb2edf1924d11f17cf19422ae95ca96b760eacdb (patch)
treefb2d143d998675e0f031954bae29b91fb6b006e6 /win
parentc647d8551cbdea2e88b2fd0f3008d6ea056504cf (diff)
downloadtk-bb2edf1924d11f17cf19422ae95ca96b760eacdb.zip
tk-bb2edf1924d11f17cf19422ae95ca96b760eacdb.tar.gz
tk-bb2edf1924d11f17cf19422ae95ca96b760eacdb.tar.bz2
Make sure user_data is NULL everywhere it isn't set. [Bug 1021812]
Diffstat (limited to 'win')
-rw-r--r--win/tkWinMenu.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c
index 58cc781..ad55904 100644
--- a/win/tkWinMenu.c
+++ b/win/tkWinMenu.c
@@ -9,7 +9,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkWinMenu.c,v 1.34 2004/08/25 22:23:33 dgp Exp $
+ * RCS: @(#) $Id: tkWinMenu.c,v 1.35 2004/09/03 14:09:05 dkf Exp $
*/
#define OEMRESOURCE
@@ -2812,6 +2812,7 @@ MenuSelectEvent(
event.state = TkWinGetModifierState();
event.same_screen = 1;
event.name = Tk_GetUid("MenuSelect");
+ event.user_data = NULL;
Tk_QueueWindowEvent((XEvent *) &event, TCL_QUEUE_TAIL);
}