Skip to content
Snippets Groups Projects
Commit 128d8674 authored by deuce's avatar deuce
Browse files

Saneify updated and sleep...

parent 874c4439
No related branches found
No related tags found
No related merge requests found
......@@ -730,13 +730,11 @@ BOOL doterm(struct bbslist *bbs)
}
}
else if (speed) {
updated=FALSE;
sleep=FALSE;
}
hold_update=oldmc;
if(updated)
if(updated && sleep)
gotoxy(wherex(), wherey());
updated=FALSE;
/* Get local input */
while(kbhit()) {
......@@ -914,7 +912,7 @@ BOOL doterm(struct bbslist *bbs)
}
}
}
if(!updated)
if(sleep)
SLEEP(1);
else
MAYBE_YIELD();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment