summaryrefslogtreecommitdiff
path: root/src/jsapi-libdom-operator.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jsapi-libdom-operator.c')
-rw-r--r--src/jsapi-libdom-operator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jsapi-libdom-operator.c b/src/jsapi-libdom-operator.c
index 0ff79c0..e937fa0 100644
--- a/src/jsapi-libdom-operator.c
+++ b/src/jsapi-libdom-operator.c
@@ -205,7 +205,7 @@ output_operation_input(struct binding *binding,
/* JSBool */
fprintf(binding->outfile,
"\tif (!JS_ValueToBoolean(cx, argv[%d], &%s)) {\n"
- "\t\treturn JS_FALSE\n"
+ "\t\treturn JS_FALSE;\n"
"\t}\n",
arg_cur,
webidl_node_gettext(arg_ident));
@@ -240,7 +240,7 @@ output_operation_input(struct binding *binding,
fprintf(binding->outfile,
"\t%1$s_jsstr = JS_ValueToString(cx, argv[%2$d]);\n"
"\tif (%1$s_jsstr == NULL) {\n"
- "\t\treturn JS_FALSE\n"
+ "\t\treturn JS_FALSE;\n"
"\t}\n\n"
"\tJSString_to_char(%1$s_jsstr, %1$s, %1$s_len);\n",
webidl_node_gettext(arg_ident),