From f4f00dcff6c765d0eec9bbfdf2f4b448868425b8 Mon Sep 17 00:00:00 2001 From: Vlad Mironov Date: Sat, 28 Dec 2013 10:50:19 +0000 Subject: missing function invocations replaced git-svn-id: http://svn.miranda-ng.org/main/trunk@7407 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_modern/src/modern_skinned_profile.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/plugins/Clist_modern/src/modern_skinned_profile.cpp b/plugins/Clist_modern/src/modern_skinned_profile.cpp index d31fe7d18f..6e2d4eb879 100644 --- a/plugins/Clist_modern/src/modern_skinned_profile.cpp +++ b/plugins/Clist_modern/src/modern_skinned_profile.cpp @@ -52,14 +52,14 @@ ValueVariant* CSkinnedProfile::_GetValue( const char * szSection, const char * s BYTE CSkinnedProfile::SpiGetSkinByte( HANDLE hContact, const char * szSection, const char * szKey, const BYTE defValue ) { if ( hContact ) - return ModernGetSettingByte( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all + return db_get_b( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all CAutoCriticalSection Lock( SkinProfile()->_Lock, true ); ValueVariant* value = SkinProfile()->_GetValue( szSection, szKey ); if ( value == NULL ) // not skinned => return DB - return ModernGetSettingWord( hContact, szSection, szKey, defValue ); + return db_get_w( hContact, szSection, szKey, defValue ); else if ( !value->IsEmpty() ) return value->GetByte(); @@ -70,14 +70,14 @@ BYTE CSkinnedProfile::SpiGetSkinByte( HANDLE hContact, const char * szSection, c WORD CSkinnedProfile::SpiGetSkinWord( HANDLE hContact, const char * szSection, const char * szKey, const WORD defValue ) { if ( hContact ) - return ModernGetSettingWord( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all + return db_get_w( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all CAutoCriticalSection Lock( SkinProfile()->_Lock, true ); ValueVariant* value = SkinProfile()->_GetValue( szSection, szKey ); if ( value == NULL ) // not skinned => return DB - return ModernGetSettingWord( hContact, szSection, szKey, defValue ); + return db_get_w( hContact, szSection, szKey, defValue ); else if ( !value->IsEmpty() ) return value->GetWord(); @@ -88,14 +88,14 @@ WORD CSkinnedProfile::SpiGetSkinWord( HANDLE hContact, const char * szSection, c DWORD CSkinnedProfile::SpiGetSkinDword( HANDLE hContact, const char * szSection, const char * szKey, const DWORD defValue ) { if ( hContact ) - return ModernGetSettingDword( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all + return db_get_dw( hContact, szSection, szKey, defValue ); //per-contact settings are not skinnablr at all CAutoCriticalSection Lock( SkinProfile()->_Lock, true ); ValueVariant* value = SkinProfile()->_GetValue( szSection, szKey ); if ( value == NULL ) // not skinned => return DB - return ModernGetSettingDword( hContact, szSection, szKey, defValue ); + return db_get_dw( hContact, szSection, szKey, defValue ); else if ( !value->IsEmpty() ) return value->GetDword(); @@ -112,4 +112,4 @@ BOOL CSkinnedProfile::SpiCheckSkinned( HANDLE hContact, const char * szSection, return ( SkinProfile()->_GetValue( szSection, szKey ) == NULL ); } -#endif // _DEBUG // REMOVE ME, as soon as ghazan will implement msvcprt.lib msvcrt.lib analogs to vc6tovc7.lib \ No newline at end of file +#endif // _DEBUG // REMOVE ME, as soon as ghazan will implement msvcprt.lib msvcrt.lib analogs to vc6tovc7.lib -- cgit v1.2.3