add missing parens in expression for clarity (no bug, r=mrbkap)

This commit is contained in:
Andreas Gal
2010-05-12 15:42:05 -07:00
parent 6baf54d6bf
commit 31ea6e803a

View File

@@ -173,7 +173,7 @@ Enumerate(JSContext *cx, JSObject *obj, jsid id, bool enumerable, uintN flags,
if (!obj->getProperty(cx, id, vp))
return false;
if (flags & JSITER_KEYVALUE && !NewKeyValuePair(cx, id, *vp, vp))
if ((flags & JSITER_KEYVALUE) && !NewKeyValuePair(cx, id, *vp, vp))
return false;
}
}