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 | |
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]
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | win/tkWinMenu.c | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,5 +1,8 @@ 2001-04-04 Jeff Hobbs <jeffh@ActiveState.com> + * win/tkWinMenu.c (TkWinHandleMenuEvent): corrected reseting of + service mode to only occur when it was set. [Bug #220948] + * README: * mac/README: updated patchlevel to 8.3.3 and corrected links and notes. 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 { |