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:
alecf%netscape.com 2002-06-26 23:57:59 +00:00
Родитель ee39b85087
Коммит 2c7dbb30da
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -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