From 5e8f5af9e5c97dcc9dd701e46844ebfdd5b6fede Mon Sep 17 00:00:00 2001 From: "alecf%netscape.com" Date: Wed, 26 Jun 2002 23:57:59 +0000 Subject: [PATCH] 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 --- mozilla/xpfe/components/windowds/nsWindowDataSource.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/xpfe/components/windowds/nsWindowDataSource.cpp b/mozilla/xpfe/components/windowds/nsWindowDataSource.cpp index 130f1af72cd..b3e8a543954 100644 --- a/mozilla/xpfe/components/windowds/nsWindowDataSource.cpp +++ b/mozilla/xpfe/components/windowds/nsWindowDataSource.cpp @@ -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