acme: fix Load of acme with no windows

R=rsc
CC=codebot
http://codereview.appspot.com/161048
This commit is contained in:
Fazlul Shahriar 2009-11-30 12:35:05 -08:00 committed by Russ Cox
parent ba940ae61c
commit 63479cfb79

View file

@ -631,6 +631,8 @@ rowload(Row *row, char *file, int initing)
}
}
for(;;){
if(l == nil)
break;
dumpid = 0;
switch(l[0]){
case 'e':
@ -775,8 +777,6 @@ rowload(Row *row, char *file, int initing)
w->maxlines = min(w->body.fr.nlines, max(w->maxlines, w->body.fr.maxlines));
Nextline:
l = rdline(b, &line);
if(l == nil)
break;
}
Bterm(b);
fbuffree(buf);