submitted by Quy Tonthat <quy@igelaus.com.au>

a=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@73617 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dougt%netscape.com 2000-07-01 02:12:52 +00:00
parent a11f6a01a8
commit 44732d3a61

View File

@ -135,7 +135,7 @@ nsTimeBomb::CheckWithUI(PRBool *expired)
PRBool val;
nsresult rv = GetEnabled(&val);
if (NS_FAILED(rv) && !val)
if (NS_FAILED(rv) || !val)
{
// was not set or not enabled.
// no problems. just return okay.