Commit 29969814 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

dmime: Keep messages with the same time ordered.

parent b201cf1b
......@@ -497,7 +497,7 @@ static HRESULT WINAPI performance_SendPMsg(IDirectMusicPerformance8 *iface, DMUS
}
LIST_FOR_EACH_ENTRY(next, &This->messages, struct message, entry)
if (next->msg.rtTime >= message->msg.rtTime) break;
if (next->msg.rtTime > message->msg.rtTime) break;
list_add_before(&next->entry, &message->entry);
PostThreadMessageW(This->procThreadId, PROCESSMSG_ADD, 0, 0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment