From 3361d33bd5782edb07270518705a41f4cd57697b Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 26 Apr 2013 20:54:36 +0000 Subject: - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@4543 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_avatars.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Skype/src/skype_avatars.cpp') diff --git a/protocols/Skype/src/skype_avatars.cpp b/protocols/Skype/src/skype_avatars.cpp index afb2dac02f..9b2781725e 100644 --- a/protocols/Skype/src/skype_avatars.cpp +++ b/protocols/Skype/src/skype_avatars.cpp @@ -89,7 +89,7 @@ INT_PTR __cdecl CSkypeProto::GetAvatarInfo(WPARAM, LPARAM lParam) { PROTO_AVATAR_INFORMATIONW *pai = (PROTO_AVATAR_INFORMATIONW*)lParam; - if (this->GetSettingWord(pai->hContact, "AvatarTS")) + if (::db_get_dw(pai->hContact, this->m_szModuleName, "AvatarTS", 0)) { return GAIR_NOAVATAR; } @@ -204,13 +204,13 @@ INT_PTR __cdecl CSkypeProto::SetMyAvatar(WPARAM, LPARAM lParam) } uint newTS = this->account->GetUintProp(/* *::P_AVATAR_TIMESTAMP */ 182); - this->SetSettingDword("AvatarTS", newTS); + ::db_set_dw(NULL, this->m_szModuleName, "AvatarTS", newTS); iRet = 0; } else { this->account->SetBinProperty(Account::P_AVATAR_IMAGE, SEBinary()); - this->DeleteSetting("AvatarTS"); + ::db_unset(NULL, this->m_szModuleName, "AvatarTS"); iRet = 0; } -- cgit v1.2.3