summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_skin_eng.h
diff options
context:
space:
mode:
authorVlad Mironov <mironych@googlemail.com>2012-08-06 04:15:08 +0000
committerVlad Mironov <mironych@googlemail.com>2012-08-06 04:15:08 +0000
commitf43f79651a3290f1a3cc44e4ddc335f3bf3fd4f5 (patch)
tree6dfa205bae993e51cf32a3e950cf1bfcad8c683a /plugins/ExternalAPI/m_skin_eng.h
parentcd09e51cce3355ed29a71b44155947feb6b69a43 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1375 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI/m_skin_eng.h')
-rw-r--r--plugins/ExternalAPI/m_skin_eng.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ExternalAPI/m_skin_eng.h b/plugins/ExternalAPI/m_skin_eng.h
index c6e3e181d7..d142703893 100644
--- a/plugins/ExternalAPI/m_skin_eng.h
+++ b/plugins/ExternalAPI/m_skin_eng.h
@@ -304,13 +304,13 @@ typedef int (/*__stdcall*/ *tPaintCallbackProc)(HWND hWnd, HDC hDC, RECT * rcPai
// HELPER TO UPDATEIMAGEFRAME
-inline BOOL isSkinEngineEnabled()
+__inline BOOL isSkinEngineEnabled()
{
return ServiceExists(MS_SKINENG_REGISTERPAINTSUB) && !DBGetContactSettingByte(NULL, "ModernData", "DisableEngine", FALSE);
}
-inline BOOL isLayeredEnabled()
+__inline BOOL isLayeredEnabled()
{
return isSkinEngineEnabled() && DBGetContactSettingByte(NULL, "ModernData", "EnableLayering", TRUE);
}