Style cleanup by leper, preparing the SpiderMonkey update. Refs #3708

This was SVN commit r18579.
This commit is contained in:
Itms
2016-08-02 16:12:11 +00:00
parent f7ff71e8d5
commit 72ca6c5f80
7 changed files with 17 additions and 23 deletions
@@ -64,7 +64,7 @@ template<> void ScriptInterface::ToJSVal<SDL_Event_>(JSContext* cx, JS::MutableH
// SET(obj, "state", (int)val.ev.key.state); // (not in wsdl.h)
JS::RootedObject keysym(cx, JS_NewObject(cx, nullptr, JS::NullPtr(), JS::NullPtr()));
if (! keysym)
if (!keysym)
{
ret.setUndefined();
return;