diff options
Diffstat (limited to 'plugins/Clist_modern/modern_xptheme.cpp')
-rw-r--r-- | plugins/Clist_modern/modern_xptheme.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/Clist_modern/modern_xptheme.cpp b/plugins/Clist_modern/modern_xptheme.cpp index 29d1112e9c..0e1e9dddde 100644 --- a/plugins/Clist_modern/modern_xptheme.cpp +++ b/plugins/Clist_modern/modern_xptheme.cpp @@ -31,7 +31,7 @@ static HRESULT (WINAPI *_xpt_DrawThemeText)(HANDLE, HDC, int, int, LPCWSTR, int #undef MGPROC
#define MGPROC(x) GetProcAddress(_xpt_ThemeAPIHandle,x)
-#define xptcheck if (!xptModuleLoaded) return
+#define xptcheck if ( !xptModuleLoaded) return
#define xptlock() EnterCriticalSection(&xptCS)
#define xptunlock() LeaveCriticalSection(&xptCS)
@@ -43,7 +43,7 @@ static void _sttXptObjectDestructor (void * pt) static int _xpt_ThemeSupport()
{
if (IsWinVerXPPlus()) {
- if (!_xpt_ThemeAPIHandle) {
+ if ( !_xpt_ThemeAPIHandle) {
_xpt_ThemeAPIHandle = GetModuleHandleA("uxtheme");
if (_xpt_ThemeAPIHandle) {
_xpt_OpenThemeData = (HANDLE(WINAPI *)(HWND, LPCWSTR))MGPROC("OpenThemeData");
@@ -110,7 +110,7 @@ BOOL xpt_IsThemed(XPTHANDLE xptHandle) {
BOOL res = FALSE;
xptcheck FALSE;
- if (!xptHandle) return FALSE;
+ if ( !xptHandle) return FALSE;
xptlock();
{
if (xpt_IsValidHandle(xptHandle) && ((XPTObject*) xptHandle)->hThemeHandle)
@@ -124,7 +124,7 @@ BOOL xpt_IsValidHandle(XPTHANDLE xptHandle) {
BOOL res = FALSE;
xptcheck FALSE;
- if (!xptHandle) return FALSE;
+ if ( !xptHandle) return FALSE;
xptlock();
{
if (List_IndexOf(xptObjectList, (void*)xptHandle) != -1)
|