From 121f8a3e433af878f1168d28035ad4fd17b7aa0b Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 28 Dec 2012 19:21:29 +0000 Subject: fixed compile error on vc2012 fixed crash on start git-svn-id: http://svn.miranda-ng.org/main/trunk@2874 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Skype/src/skype.h | 3 ++- protocols/Skype/src/skype_netlib.cpp | 4 ++-- protocols/Skype/src/skype_subclassing.cpp | 7 +------ 3 files changed, 5 insertions(+), 9 deletions(-) (limited to 'protocols/Skype') diff --git a/protocols/Skype/src/skype.h b/protocols/Skype/src/skype.h index ba1a8266b7..2816fd984f 100644 --- a/protocols/Skype/src/skype.h +++ b/protocols/Skype/src/skype.h @@ -3,8 +3,9 @@ #define MIRANDA_VER 0x0A00 #include -#include #include +#include +#include #include #include diff --git a/protocols/Skype/src/skype_netlib.cpp b/protocols/Skype/src/skype_netlib.cpp index d86845fc45..1f6f5a8dc4 100644 --- a/protocols/Skype/src/skype_netlib.cpp +++ b/protocols/Skype/src/skype_netlib.cpp @@ -15,8 +15,8 @@ void CSkypeProto::InitNetLib() this->Log( L"Setting protocol/module name to '%s/%s'", - ::mir_a2u(this->m_szProtoName), - ::mir_a2u(this->m_szModuleName)); + _A2T(this->m_szProtoName), + _A2T(this->m_szModuleName)); } void CSkypeProto::UninitNetLib() diff --git a/protocols/Skype/src/skype_subclassing.cpp b/protocols/Skype/src/skype_subclassing.cpp index 32a8c95b2c..50b4e67f4f 100644 --- a/protocols/Skype/src/skype_subclassing.cpp +++ b/protocols/Skype/src/skype_subclassing.cpp @@ -1,11 +1,6 @@ -#include "skype_subclassing.h" +#include "skype.h" -#include -#include -#include -#include #include "base64/base64.h" -#include "..\..\..\skypekit\key.h" extern "C" { #include "aes\aes.h" -- cgit v1.2.3