Fixing typo in Raw32 code

ugfx_release_2.6
Joel Bodenmann 2015-07-08 22:06:18 +02:00
parent ed75f5e8c3
commit b9dcbc8506
1 changed files with 1 additions and 1 deletions

View File

@ -694,7 +694,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_
memcpy(t+1, (char *)&t - stackbase, stackbase+sizeof(char *));
#else
// Stack grows down
nf = (char *)(t) + size - (stackbase + sizeof(char *));
nf = (char *)(t) + t->size - (stackbase + sizeof(char *));
memcpy(nf, &t, stackbase+sizeof(char *));
#endif