small whitespacefix.
This commit is contained in:
parent
04173f6661
commit
92cb8792e1
1 changed files with 1 additions and 1 deletions
2
surf.c
2
surf.c
|
@ -699,7 +699,7 @@ windowobjectcleared(GtkWidget *w, WebKitWebFrame *frame, JSContextRef js, JSObje
|
||||||
|
|
||||||
filename = g_build_filename(workdir, "script.js", NULL);
|
filename = g_build_filename(workdir, "script.js", NULL);
|
||||||
if(g_file_get_contents(filename, &script, NULL, &error)) {
|
if(g_file_get_contents(filename, &script, NULL, &error)) {
|
||||||
jsscript = JSStringCreateWithUTF8CString (script);
|
jsscript = JSStringCreateWithUTF8CString(script);
|
||||||
JSEvaluateScript (js, jsscript, JSContextGetGlobalObject(js), NULL, 0, &exception);
|
JSEvaluateScript (js, jsscript, JSContextGetGlobalObject(js), NULL, 0, &exception);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue