Bug 429160 [Mac]Regression: Command-Option-F does not select search box r=karlt+josh, sr=roc, a1.9=mtschrep

This commit is contained in:
masayuki%d-toybox.com 2008-04-19 15:09:50 +00:00
Родитель a31dd64157
Коммит fe36220954
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -3891,10 +3891,10 @@ static PRBool IsNormalCharInputtingEvent(const nsKeyEvent& aEvent)
if (outGeckoEvent->isControl && outGeckoEvent->charCode <= 26)
outGeckoEvent->charCode += (outGeckoEvent->isShift) ? ('A' - 1) : ('a' - 1);
// If Ctrl or Command is pressed, we should set shiftCharCode and
// If Ctrl or Command or Alt is pressed, we should set shiftCharCode and
// unshiftCharCode for accessKeys and accelKeys.
if ((outGeckoEvent->isControl || outGeckoEvent->isMeta) &&
!outGeckoEvent->isAlt) {
if (outGeckoEvent->isControl || outGeckoEvent->isMeta ||
outGeckoEvent->isAlt) {
SInt16 keyLayoutID =
::GetScriptVariable(::GetScriptManagerVariable(smKeyScript),
smScriptKeys);