зеркало из https://github.com/mozilla/gecko-dev.git
argh, I'm having a bad day - just noticed at the last second that the values of PR_FALSE and PR_TRUE were reversed here, so we only could hit the first window from the window menu
This commit is contained in:
Родитель
ee39b85087
Коммит
2c7dbb30da
|
@ -340,9 +340,9 @@ static PRBool findWindow(nsHashKey* aKey, void *aData, void* aClosure)
|
|||
closure->resultWindow =
|
||||
NS_STATIC_CAST(nsIXULWindow*,
|
||||
NS_INT32_TO_PTR(thisKey->GetValue()));
|
||||
return PR_TRUE; // stop enumerating
|
||||
return PR_FALSE; // stop enumerating
|
||||
}
|
||||
return PR_FALSE;
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
||||
// nsIWindowDataSource implementation
|
||||
|
|
Загрузка…
Ссылка в новой задаче