This commit is contained in:
Michael Mikonos 2024-10-13 21:38:56 -04:00 committed by GitHub
commit 94fc75a179
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,10 +37,14 @@ $HL,1$*/
U0 TaskFocusNext()
{
CTask *task, *_task = sys_focus_task;
CTask *task, *_task;
sys_focus_task = NULL;
if (!_task)
if (sys_focus_task)
{
_task = sys_focus_task;
sys_focus_task = NULL;
}
else
_task = sys_task;
task = _task->next_task;
do