Skip to content
Snippets Groups Projects
Commit dfc8bc11 authored by rswindell's avatar rswindell
Browse files

js_init() initializes JS loop counter to 0.

parent 6a8d493b
Branches
Tags
No related merge requests found
......@@ -500,6 +500,8 @@ bool sbbs_t::js_init()
if((js_cx = JS_NewContext(js_runtime, JAVASCRIPT_CONTEXT_STACK))==NULL)
return(false);
js_loop = 0; /* loop counter */
bool success=false;
do {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment