summaryrefslogtreecommitdiff
path: root/plugins/!NotAdopted/Skype/skypesvc.c
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2012-10-16 19:50:18 +0000
committerAlexander Gluzsky <sss123next@list.ru>2012-10-16 19:50:18 +0000
commit5c2ed5cd648367117e690864e79582916463c0e4 (patch)
tree51c035ba6efba82deda7e82cc6907d51cdab9a95 /plugins/!NotAdopted/Skype/skypesvc.c
parentee854715a0f8589b312599dfead0cd3609a28cb7 (diff)
adaptation
git-svn-id: http://svn.miranda-ng.org/main/trunk@1964 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/!NotAdopted/Skype/skypesvc.c')
-rwxr-xr-x[-rw-r--r--]plugins/!NotAdopted/Skype/skypesvc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/!NotAdopted/Skype/skypesvc.c b/plugins/!NotAdopted/Skype/skypesvc.c
index c6d02e6d3a..bada953bbf 100644..100755
--- a/plugins/!NotAdopted/Skype/skypesvc.c
+++ b/plugins/!NotAdopted/Skype/skypesvc.c
@@ -173,9 +173,9 @@ INT_PTR SkypeLoadIcon(WPARAM wParam,LPARAM lParam)
switch(wParam&0xFFFF) {
case PLI_PROTOCOL: id=IDI_SKYPE; break; // IDI_MAIN is the main icon for the protocol
- default: return (int)(HICON)NULL;
+ default: return NULL;
}
- return (int)LoadImage(hInst,MAKEINTRESOURCE(id),IMAGE_ICON,GetSystemMetrics(wParam&PLIF_SMALL?SM_CXSMICON:SM_CXICON),GetSystemMetrics(wParam&PLIF_SMALL?SM_CYSMICON:SM_CYICON),0);
+ return (INT_PTR)LoadImage(hInst,MAKEINTRESOURCE(id),IMAGE_ICON,GetSystemMetrics(wParam&PLIF_SMALL?SM_CXSMICON:SM_CXICON),GetSystemMetrics(wParam&PLIF_SMALL?SM_CYSMICON:SM_CYICON),0);
}
INT_PTR SkypeGetAvatar(WPARAM wParam,LPARAM lParam)