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
git-svn-id: svn://10.0.0.236/trunk@124142 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user