Module: wine Branch: master Commit: 299698140a7b7ce8e3868d934ab4553eb2219418 URL: https://gitlab.winehq.org/wine/wine/-/commit/299698140a7b7ce8e3868d934ab4553...
Author: Rémi Bernon rbernon@codeweavers.com Date: Thu Sep 21 13:54:32 2023 +0200
dmime: Keep messages with the same time ordered.
---
dlls/dmime/performance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/dmime/performance.c b/dlls/dmime/performance.c index 9f293358ca6..a5655f4b2df 100644 --- a/dlls/dmime/performance.c +++ b/dlls/dmime/performance.c @@ -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);