mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2024-12-25 15:10:28 +00:00
Compare commits
3 commits
2816e6e7d0
...
94fc75a179
Author | SHA1 | Date | |
---|---|---|---|
|
94fc75a179 | ||
|
74ffc8da69 | ||
|
5429d214f4 |
1 changed files with 7 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue