summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI/m_skin_eng.h
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-12-10 22:32:19 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-12-10 22:32:19 +0000
commitf8b35188837e5ca2352e7fdaff88bc1e4dbc4993 (patch)
tree26e3059c56a84b9718d66f8b4fdccbc5683d9b34 /plugins/ExternalAPI/m_skin_eng.h
parentaa5ad4e9e5f881747ab2fae38b0da05560085f13 (diff)
removed deprecated & bizarre aliases
git-svn-id: http://svn.miranda-ng.org/main/trunk@2717 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 d142703893..4a993e3dab 100644
--- a/plugins/ExternalAPI/m_skin_eng.h
+++ b/plugins/ExternalAPI/m_skin_eng.h
@@ -306,13 +306,13 @@ typedef int (/*__stdcall*/ *tPaintCallbackProc)(HWND hWnd, HDC hDC, RECT * rcPai
__inline BOOL isSkinEngineEnabled()
{
- return ServiceExists(MS_SKINENG_REGISTERPAINTSUB) && !DBGetContactSettingByte(NULL, "ModernData", "DisableEngine", FALSE);
+ return ServiceExists(MS_SKINENG_REGISTERPAINTSUB) && !db_get_b(NULL, "ModernData", "DisableEngine", FALSE);
}
__inline BOOL isLayeredEnabled()
{
- return isSkinEngineEnabled() && DBGetContactSettingByte(NULL, "ModernData", "EnableLayering", TRUE);
+ return isSkinEngineEnabled() && db_get_b(NULL, "ModernData", "EnableLayering", TRUE);
}
int __inline SkinEngUpdateImageFrame(HWND hwnd, RECT * rcUpdate, DWORD dwFlags, void * CallBackData)