Fixed RemoveMessage() I broke before.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15085 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
876a3803df
commit
6338e9da5d
@ -108,6 +108,9 @@ BMessageQueue::RemoveMessage(BMessage* message)
|
||||
// remove this one
|
||||
if (entry == fHead)
|
||||
fHead = entry->fQueueLink;
|
||||
else
|
||||
last->fQueueLink = entry->fQueueLink;
|
||||
|
||||
if (entry == fTail)
|
||||
fTail = last;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user