Merge pull request #28 from kienvo/fix-linked-list
fix: Framebuffer linked list is misplaced on append
This commit is contained in:
commit
0d44481e1e
2
src/fb.c
2
src/fb.c
@ -19,7 +19,7 @@ fb_t *fblist_insert(fb_t *at, fb_t *new)
|
||||
|
||||
fb_t *fblist_append(fb_t *new)
|
||||
{
|
||||
fblist_insert(new, tail);
|
||||
fblist_insert(tail, new);
|
||||
tail = new;
|
||||
return new;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user