Bug 286927 - Use & not && for flags (doh).

Venkman only.
r=rginda
This commit is contained in:
silver%warwickcompsoc.co.uk 2006-05-24 21:26:04 +00:00
parent 83870a1e3f
commit e60e0f3346

View File

@ -388,10 +388,8 @@ function jsdErrorHook (message, fileName, line, pos, flags, exception)
try
{
var flagstr;
flagstr =
(flags && jsdIErrorHook.REPORT_EXCEPTION) ? "x" : "-";
flagstr +=
(flags && jsdIErrorHook.REPORT_STRICT) ? "s" : "-";
flagstr = (flags & jsdIErrorHook.REPORT_EXCEPTION) ? "x" : "-";
flagstr += (flags & jsdIErrorHook.REPORT_STRICT) ? "s" : "-";
//dd ("===\n" + message + "\n" + fileName + "@" +
// line + ":" + pos + "; " + flagstr);