Paul Gofman : comctl32: Force debug info in critical sections.
Module: wine Branch: master Commit: a7d3d574c0a390789eb5759f53507cb4cf3fd7c4 URL: https://gitlab.winehq.org/wine/wine/-/commit/a7d3d574c0a390789eb5759f53507cb... Author: Paul Gofman <pgofman(a)codeweavers.com> Date: Thu Feb 29 20:57:32 2024 -0600 comctl32: Force debug info in critical sections. --- dlls/comctl32/animate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c index 721379f329c..46e1e37b72d 100644 --- a/dlls/comctl32/animate.c +++ b/dlls/comctl32/animate.c @@ -813,7 +813,7 @@ static BOOL ANIMATE_Create(HWND hWnd, const CREATESTRUCTW *lpcs) TRACE("Animate style %#lx, parent %p\n", infoPtr->dwStyle, infoPtr->hwndNotify); - InitializeCriticalSection(&infoPtr->cs); + InitializeCriticalSectionEx(&infoPtr->cs, 0, RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO); infoPtr->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": ANIMATE_INFO*->cs"); return TRUE;
participants (1)
-
Alexandre Julliard