This commit is contained in:
Michael Mikonos 2024-12-07 17:54:51 +01:00 committed by GitHub
commit 2816e6e7d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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