add: if(line[l]==undefined) return(ret); 
context: function wrap_line(l){	var ret=-1;	var nline;	var m;	var m2;	while(1) {		/* Get line length without trailing whitespace */		m=line[l].text.match(/^(.*?)\s*$/);		if(m!=null) {			if(m[1].length<80 && (m[1].length!=line[l].text.length || line[l+1]==undefined || line[l].hardcr==true)) {				if(ret!=-1)					draw_line(l);				return(ret);			}		}		m=line[l].text.match(/^(.{1,79}\s+)([^\s].*?)$/);		if(m==null) {			/*			 * We couldn't apparently find a space after a char... this means			 * we need to kludge wrap this (ick)			 */			m=line[l].text.match(/^(.{1,79})(.*?)$/);			line[l].kludged=true;		}		if(m!=null) {			if(line[l+1]==undefined)				line.push(new Line);			line[l+1].text=m[2]+line[l+1].text;			line[l+1].attr=line[l].attr.substr(m[1].length)+line[l+1].attr;			line[l].text=m[1];			line[l].attr=line[l].attr.substr(0,line[l].text.length);			draw_line(l);			if(ret==-1)				ret=m[2].length;			l++;		}		else {			/* This can't happen */			alert("The impossible happened.");			console.pause();			exit();		}	}	return(ret);}
meta: 9592	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9592/ef9c6218cc9c36ff04856175f97eba7cc1cf2b41/fseditor.js/clean/fseditor.js