From 4e9b66c674d14ae1e22bcf72a6c1a310c8a23a28 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Wed, 2 Jul 2003 10:56:58 +0000
Subject: [PATCH] Initializing cols to 80 and rows to 24 in sbbs_t constructor.

---
 src/sbbs3/main.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp
index 58d9fe4e31..fd52f3eb63 100644
--- a/src/sbbs3/main.cpp
+++ b/src/sbbs3/main.cpp
@@ -356,7 +356,7 @@ DLLCALL js_DefineMethods(JSContext* cx, JSObject* obj, jsMethodSpec *funcs, BOOL
 		if(funcs[i].type==JSTYPE_ALIAS)
 			continue;
 
-		method = JS_NewObject(cx, NULL, NULL, method_array);
+		method = JS_NewObject(cx, NULL, NULL, method_array);	/* exception here June-7-2003 */
 
 		if(method==NULL)
 			return(JS_FALSE);
@@ -2833,7 +2833,8 @@ void sbbs_t::reset_logon_vars(void)
     question[0]=0;
     menu_dir[0]=0;
     menu_file[0]=0;
-    rows=0;
+    rows=24;
+	cols=80;
     lncntr=0;
     autoterm=0;
     keybufbot=keybuftop=lbuflen=0;
-- 
GitLab