diff --git a/src/sbbs3/main.cpp b/src/sbbs3/main.cpp index 58d9fe4e31f101fa6a161ce429d31c215674c5dd..fd52f3eb639f77582d3941ae5d2b5abd4d26ea0d 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;