Author: cwittich
Date: Sun Sep 21 17:54:33 2014
New Revision: 64220
URL:
http://svn.reactos.org/svn/reactos?rev=64220&view=rev
Log:
[uxtheme]
fix typos
Modified:
trunk/reactos/dll/win32/uxtheme/system.c
trunk/reactos/dll/win32/uxtheme/themehooks.c
trunk/reactos/dll/win32/uxtheme/uxthemep.h
Modified: trunk/reactos/dll/win32/uxtheme/system.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/system.c…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/system.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/system.c [iso-8859-1] Sun Sep 21 17:54:33 2014
@@ -49,7 +49,7 @@
ATOM atWindowTheme;
static ATOM atSubAppName;
static ATOM atSubIdList;
-ATOM atWndContrext;
+ATOM atWndContext;
PTHEME_FILE ActiveThemeFile;
@@ -581,7 +581,7 @@
atSubAppName = GlobalAddAtomW(szSubAppName);
atSubIdList = GlobalAddAtomW(szSubIdList);
atDialogThemeEnabled = GlobalAddAtomW(szDialogThemeEnabled);
- atWndContrext = GlobalAddAtomW(L"ux_WndContext");
+ atWndContext = GlobalAddAtomW(L"ux_WndContext");
}
/***********************************************************************
Modified: trunk/reactos/dll/win32/uxtheme/themehooks.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/themehoo…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/themehooks.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/themehooks.c [iso-8859-1] Sun Sep 21 17:54:33 2014
@@ -17,7 +17,7 @@
{
PWND_CONTEXT pcontext;
- pcontext = (PWND_CONTEXT)GetPropW(hWnd, (LPCWSTR)MAKEINTATOM(atWndContrext));
+ pcontext = (PWND_CONTEXT)GetPropW(hWnd, (LPCWSTR)MAKEINTATOM(atWndContext));
if(pcontext == NULL)
{
pcontext = HeapAlloc(GetProcessHeap(),
@@ -28,13 +28,13 @@
return NULL;
}
- SetPropW( hWnd, (LPCWSTR)MAKEINTATOM(atWndContrext), pcontext);
+ SetPropW( hWnd, (LPCWSTR)MAKEINTATOM(atWndContext), pcontext);
}
return pcontext;
}
-void ThemeDetroyWndContext(HWND hWnd)
+void ThemeDestroyWndContext(HWND hWnd)
{
PWND_CONTEXT pContext;
DWORD ProcessId;
@@ -46,7 +46,7 @@
return;
}
- pContext = (PWND_CONTEXT)GetPropW(hWnd, (LPCWSTR)MAKEINTATOM(atWndContrext));
+ pContext = (PWND_CONTEXT)GetPropW(hWnd, (LPCWSTR)MAKEINTATOM(atWndContext));
if(pContext == NULL)
{
return;
@@ -59,12 +59,12 @@
HeapFree(GetProcessHeap(), 0, pContext);
- SetPropW( hWnd, (LPCWSTR)MAKEINTATOM(atWndContrext), NULL);
+ SetPropW( hWnd, (LPCWSTR)MAKEINTATOM(atWndContext), NULL);
}
static BOOL CALLBACK ThemeCleanupChildWndContext (HWND hWnd, LPARAM msg)
{
- ThemeDetroyWndContext(hWnd);
+ ThemeDestroyWndContext(hWnd);
return TRUE;
}
@@ -76,7 +76,7 @@
}
else
{
- ThemeDetroyWndContext(hWnd);
+ ThemeDestroyWndContext(hWnd);
EnumChildWindows (hWnd, ThemeCleanupChildWndContext, 0);
}
@@ -249,7 +249,7 @@
}
case WM_DESTROY:
{
- ThemeDetroyWndContext(hWnd);
+ ThemeDestroyWndContext(hWnd);
return 0;
}
}
Modified: trunk/reactos/dll/win32/uxtheme/uxthemep.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/uxtheme/uxthemep…
==============================================================================
--- trunk/reactos/dll/win32/uxtheme/uxthemep.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/uxtheme/uxthemep.h [iso-8859-1] Sun Sep 21 17:54:33 2014
@@ -219,7 +219,7 @@
extern HINSTANCE hDllInst;
extern ATOM atWindowTheme;
-extern ATOM atWndContrext;
+extern ATOM atWndContext;
extern BOOL gbThemeHooksActive;
extern PTHEME_FILE ActiveThemeFile;