diff options
author | hobbs <hobbs> | 2001-04-04 18:46:56 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2001-04-04 18:46:56 (GMT) |
commit | 8f9dff30fa3925888a91db0330267802585b8e2b (patch) | |
tree | 43e88358a02937904dfe0c7062facb9a21709381 /win | |
parent | 8972d00f72a47a9889213dfa579d6700ddc208c9 (diff) | |
download | tk-8f9dff30fa3925888a91db0330267802585b8e2b.zip tk-8f9dff30fa3925888a91db0330267802585b8e2b.tar.gz tk-8f9dff30fa3925888a91db0330267802585b8e2b.tar.bz2 |
* win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of
service mode to only occur when it was set. [Bug #220948]
Diffstat (limited to 'win')
-rw-r--r-- | win/tkWinMenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tkWinMenu.c b/win/tkWinMenu.c index d169908..0b44671 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.8.2.2 2001/04/04 07:57:18 hobbs Exp $ + * RCS: @(#) $Id: tkWinMenu.c,v 1.8.2.3 2001/04/04 18:46:56 hobbs Exp $ */ #define OEMRESOURCE @@ -1101,8 +1101,8 @@ TkWinHandleMenuEvent(phwnd, pMessage, pwParam, plParam, plResult) TkMenuInit(); if ((flags == 0xFFFF) && (*plParam == 0)) { - Tcl_SetServiceMode(tsdPtr->oldServiceMode); if (tsdPtr->modalMenuPtr != NULL) { + Tcl_SetServiceMode(tsdPtr->oldServiceMode); RecursivelyClearActiveMenu(tsdPtr->modalMenuPtr); } } else { |