mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
acme: fix Load of acme with no windows
R=rsc CC=codebot http://codereview.appspot.com/161048
This commit is contained in:
parent
ba940ae61c
commit
63479cfb79
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue