uxtheme: plf is already a pointer

Austin English austinenglish at gmail.com
Mon May 21 18:52:40 CDT 2012


Spotted by mity at morous.org (http://bugs.winehq.org/show_bug.cgi?id=30691).

-- 
-Austin
-------------- next part --------------
diff --git a/dlls/uxtheme/metric.c b/dlls/uxtheme/metric.c
index c056f28..043f836 100644
--- a/dlls/uxtheme/metric.c
+++ b/dlls/uxtheme/metric.c
@@ -118,7 +118,7 @@ HRESULT WINAPI GetThemeSysFont(HTHEME hTheme, int iFontID, LOGFONTW *plf)
        }
     }
     if(iFontID == TMT_ICONTITLEFONT) {
-        if(!SystemParametersInfoW(SPI_GETICONTITLELOGFONT, sizeof(LOGFONTW), &plf, 0))
+        if(!SystemParametersInfoW(SPI_GETICONTITLELOGFONT, sizeof(LOGFONTW), plf, 0))
             return HRESULT_FROM_WIN32(GetLastError());
     }
     else {


More information about the wine-patches mailing list