[ros-diffs] [jgardou] 56059: There are days like that, when you'd better refrain from commit anything.

jgardou at svn.reactos.org jgardou at svn.reactos.org
Mon Mar 5 20:34:50 UTC 2012


Author: jgardou
Date: Mon Mar  5 20:34:50 2012
New Revision: 56059

URL: http://svn.reactos.org/svn/reactos?rev=56059&view=rev
Log:
There are days like that, when you'd better refrain from commit anything.

Modified:
    trunk/reactos/dll/win32/uxtheme/system.c

Modified: trunk/reactos/dll/win32/uxtheme/system.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/system.c?rev=56059&r1=56058&r2=56059&view=diff
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/system.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/system.c [iso-8859-1] Mon Mar  5 20:34:50 2012
@@ -680,11 +680,13 @@
 HRESULT WINAPI SetWindowTheme(HWND hwnd, LPCWSTR pszSubAppName,
                               LPCWSTR pszSubIdList)
 {
-	if(!IsWindow(hwnd))
+	HRESULT hr;
+    TRACE("(%p,%s,%s)\n", hwnd, debugstr_w(pszSubAppName),
+        debugstr_w(pszSubIdList));
+    
+    if(!IsWindow(hwnd))
 		return E_HANDLE;
 
-    HRESULT hr;
-    TRACE("(%p,%s,%s)\n", hwnd, debugstr_w(pszSubAppName),
     hr = UXTHEME_SetWindowProperty(hwnd, atSubAppName, pszSubAppName);
     if(SUCCEEDED(hr))
         hr = UXTHEME_SetWindowProperty(hwnd, atSubIdList, pszSubIdList);




More information about the Ros-diffs mailing list