Fix for bug 11082.

This commit is contained in:
hyatt%netscape.com 1999-08-02 23:57:58 +00:00
parent 45533b29b0
commit 8a4f8c434b

View File

@ -121,8 +121,12 @@ nsMenuBarListener::KeyDown(nsIDOMEvent* aKeyEvent)
if (theChar == NS_VK_ALT) {
// The ALT key just went down. Track this.
mAltKeyDown = PR_TRUE;
return NS_OK;
}
else if (theChar == NS_VK_LEFT ||
mAltKeyDown = PR_FALSE;
if (theChar == NS_VK_LEFT ||
theChar == NS_VK_RIGHT ||
theChar == NS_VK_UP ||
theChar == NS_VK_DOWN) {