fixed typo in GQueue

This commit is contained in:
Joel Bodenmann 2013-07-27 23:35:23 +02:00
parent a76a5d7d7c
commit e4aae7b3f6

View file

@ -103,7 +103,7 @@
pi = pqueue->head; pi = pqueue->head;
pqueue->head = pi->next; pqueue->head = pi->next;
pi->next = 0; pi->next = 0;
gfxSytemUnlock(); gfxSystemUnlock();
return pi; return pi;
} }
void gfxQueueGSyncPut(gfxQueueGSync *pqueue, gfxQueueGSyncItem *pitem) { void gfxQueueGSyncPut(gfxQueueGSync *pqueue, gfxQueueGSyncItem *pitem) {
@ -184,7 +184,7 @@
pi = pqueue->head; pi = pqueue->head;
pqueue->head = pi->next; pqueue->head = pi->next;
pi->next = 0; pi->next = 0;
gfxSytemUnlock(); gfxSystemUnlock();
gfxSemSignalI(&pi->sem); gfxSemSignalI(&pi->sem);
gfxSemDestroy(&pi->sem); gfxSemDestroy(&pi->sem);