summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2013-04-28 21:26:57 +0000
committerAlexander Lantsev <aunsane@gmail.com>2013-04-28 21:26:57 +0000
commit23479c4e542e48ced40947777aa574e435153d34 (patch)
tree3c6458e886b99186f51ba92aa6c5dfa46956e764 /protocols/Skype/src/skype.cpp
parent1137908b0395c613b2827428fd846242eaddb999 (diff)
some fixes in avatar loading
git-svn-id: http://svn.miranda-ng.org/main/trunk@4563 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype.cpp')
-rw-r--r--protocols/Skype/src/skype.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype.cpp b/protocols/Skype/src/skype.cpp
index 0a67359a25..78af8aa51c 100644
--- a/protocols/Skype/src/skype.cpp
+++ b/protocols/Skype/src/skype.cpp
@@ -137,7 +137,7 @@ int StartSkypeRuntime(HINSTANCE hInstance, const wchar_t *profileName, int &port
if (skypeKitPath != NULL)
*skypeKitPath = 0;
::swprintf(fileName, SIZEOF(fileName), L"%s\\%s", fileName, L"SkypeKit.exe");
- if ( !::PathFileExists(fileName))
+ if ( ::GetFileAttributes(fileName) == DWORD(-1))
{
HRSRC hRes = ::FindResource(hInstance, MAKEINTRESOURCE(IDR_RUNTIME), L"BIN");
if (hRes)