From dfc8bc11d4e43730f2a3a8b489eceac2045fa438 Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Mon, 11 Mar 2002 18:32:13 +0000 Subject: [PATCH] js_init() initializes JS loop counter to 0. --- src/sbbs3/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 04eff4a477..cbcb97ab95 100644 --- a/src/sbbs3/main.cpp +++ b/src/sbbs3/main.cpp @@ -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 { -- GitLab