Module: wine Branch: master Commit: fad15dae939c51efca1c9f2b2229bdde83bbd9ab URL: https://gitlab.winehq.org/wine/wine/-/commit/fad15dae939c51efca1c9f2b2229bdd...
Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Tue Dec 12 21:13:37 2023 +0900
comctl32/tests: Store old DPI awareness context.
---
dlls/comctl32/tests/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/tests/misc.c b/dlls/comctl32/tests/misc.c index d128c202c67..d2bb85b2d75 100644 --- a/dlls/comctl32/tests/misc.c +++ b/dlls/comctl32/tests/misc.c @@ -908,7 +908,7 @@ static void test_themed_background(void) pSetThreadDpiAwarenessContext = (void *)GetProcAddress(GetModuleHandleA("user32.dll"), "SetThreadDpiAwarenessContext"); if (pSetThreadDpiAwarenessContext) - pSetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE); + old_context = pSetThreadDpiAwarenessContext(DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE);
memset(&cls, 0, sizeof(cls)); cls.hInstance = GetModuleHandleA(0);