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

Fix error in previous commit that switch to GetInstancePrivate()

parent 018ab959
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1215 passed
......@@ -2411,7 +2411,7 @@ static JSBool js_file_get(JSContext *cx, JSObject *obj, jsid id, jsval *vp)
off_t lng;
int in;
if((p=(private_t*)JS_GetInstancePrivate(cx, obj, NULL, NULL))==NULL)
if((p=(private_t*)JS_GetPrivate(cx, obj))==NULL)
return(JS_TRUE);
JS_IdToValue(cx, id, &idval);
......
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