From 65cff4ae81430b018315b2fb328a6a593f68e508 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 25 Oct 2012 16:47:14 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@2070 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype_menus.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Skype/src/skype_menus.cpp') diff --git a/protocols/Skype/src/skype_menus.cpp b/protocols/Skype/src/skype_menus.cpp index 7887bf9054..3ef76141ca 100644 --- a/protocols/Skype/src/skype_menus.cpp +++ b/protocols/Skype/src/skype_menus.cpp @@ -31,7 +31,7 @@ int CSkypeProto::OnPrebuildContactMenu(WPARAM wParam, LPARAM) if (hContact == NULL) return 0; - if (this->IsOnline() && !::DBGetContactSettingByte(hContact, m_szModuleName, "ChatRoom", 0)) + if (this->IsOnline() && !this->GetSettingByte(hContact, "ChatRoom")) { bool ctrlPressed = (GetKeyState(VK_CONTROL) & 0x8000) != 0; @@ -69,7 +69,7 @@ INT_PTR GlobalService(WPARAM wParam, LPARAM lParam) int CSkypeProto::RequestAuth(WPARAM wParam, LPARAM lParam) { // todo: set default auth request - this->AuthRequest((HANDLE)wParam, LPGENT("")); + return this->AuthRequest((HANDLE)wParam, LPGENT("")); } int CSkypeProto::GrantAuth(WPARAM wParam, LPARAM lParam) -- cgit v1.2.3