From 45ff82ed8eee31125c1b3eef1e1e090d14c1626e Mon Sep 17 00:00:00 2001 From: NicJA Date: Fri, 3 Jul 2015 15:43:44 +0000 Subject: [PATCH] add remtask before addtask git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@50910 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- rom/task/init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rom/task/init.c b/rom/task/init.c index c2e4fc8baa..05ead2d65d 100644 --- a/rom/task/init.c +++ b/rom/task/init.c @@ -42,8 +42,8 @@ static LONG taskres_Init(struct TaskResBase *TaskResBase) SysBase->lb_TaskResBase = (struct Library *)TaskResBase; - TaskResBase->trb_NewAddTask = SetFunction((struct Library *)SysBase, -176*LIB_VECTSIZE, AROS_SLIB_ENTRY(NewAddTask, Task, 176)); TaskResBase->trb_RemTask = SetFunction((struct Library *)SysBase, -48*LIB_VECTSIZE, AROS_SLIB_ENTRY(RemTask, Task, 48)); + TaskResBase->trb_NewAddTask = SetFunction((struct Library *)SysBase, -176*LIB_VECTSIZE, AROS_SLIB_ENTRY(NewAddTask, Task, 176)); InitSemaphore(&TaskResBase->trb_Sem); -- 2.11.4.GIT