mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-26 13:46:28 +00:00
Style cleanup by leper, preparing the SpiderMonkey update. Refs #3708
This was SVN commit r18579.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user