mothra: buddah cursor wont reset on first page when load fails
This commit is contained in:
parent
9e8b285562
commit
36e0b53bb7
1 changed files with 5 additions and 5 deletions
|
@ -228,12 +228,12 @@ int mkmfile(char *stem, int mode){
|
||||||
}
|
}
|
||||||
|
|
||||||
void donecurs(void){
|
void donecurs(void){
|
||||||
if(current == nil)
|
if(current && current->alldone==0)
|
||||||
return;
|
esetcursor(&readingcurs);
|
||||||
if(mothmode)
|
else if(mothmode)
|
||||||
esetcursor(&mothcurs);
|
esetcursor(&mothcurs);
|
||||||
else
|
else
|
||||||
esetcursor(current->alldone ? 0 : &readingcurs);
|
esetcursor(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void scrollto(char *tag);
|
void scrollto(char *tag);
|
||||||
|
@ -262,7 +262,7 @@ void main(int argc, char *argv[]){
|
||||||
* so that we can stop all subprocesses with a note,
|
* so that we can stop all subprocesses with a note,
|
||||||
* and to isolate rendezvous from other processes
|
* and to isolate rendezvous from other processes
|
||||||
*/
|
*/
|
||||||
if(cohort = rfork(RFPROC|RFNOTEG|RFNAMEG|RFREND)){
|
if(cohort=rfork(RFPROC|RFNOTEG|RFNAMEG|RFREND)){
|
||||||
atexit(killcohort);
|
atexit(killcohort);
|
||||||
notify(catch);
|
notify(catch);
|
||||||
waitpid();
|
waitpid();
|
||||||
|
|
Loading…
Reference in a new issue