Skip to content
Snippets Groups Projects
Commit a32b5ade authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Fix previous commit.

Copy/paste without the update required a single character to have
seven different values... which is unlikely to actually happen.
parent 554748dc
No related branches found
No related tags found
No related merge requests found
......@@ -634,12 +634,12 @@ js_on_exit(JSContext *cx, uintN argc, jsval *arglist)
}
else {
if (oep->signature[0] != 'o'
|| oep->signature[0] != 'n'
|| oep->signature[0] != 'e'
|| oep->signature[0] != 'x'
|| oep->signature[0] != 'i'
|| oep->signature[0] != 't'
|| oep->signature[0] != 0) {
|| oep->signature[1] != 'n'
|| oep->signature[2] != 'e'
|| oep->signature[3] != 'x'
|| oep->signature[4] != 'i'
|| oep->signature[5] != 't'
|| oep->signature[6] != 0) {
JS_ReportError(cx, "on_exit not available in %s scopes", JS_GetClass(cx, scope)->name);
return JS_FALSE;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment