diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-05 14:50:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-05 14:50:06 +0000 |
commit | 046a82ec1d9982a0beb8d19b6f31c279eeb02b50 (patch) | |
tree | a62c2ce231b4486390e9d4daf7b311f4d89c4daf /src/modules/metacontacts/meta_services.cpp | |
parent | a921704492eb11e19954eddc68479af74b4787ef (diff) |
- "Add to metacontact" dialog fixed;
- "Remove from metacontact" menu item sometimes got hidden;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8412 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_services.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_services.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp index fa69782d90..34b1d85376 100644 --- a/src/modules/metacontacts/meta_services.cpp +++ b/src/modules/metacontacts/meta_services.cpp @@ -176,7 +176,7 @@ static DWORD CALLBACK sttFakeAckFail( LPVOID param ) WaitForSingleObject( tParam->hEvent, INFINITE );
Sleep( 100 );
- ProtoBroadcastAck(META_PROTO, tParam->hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, (HANDLE)tParam->id, (WPARAM)tParam->msg );
+ ProtoBroadcastAck(META_PROTO, tParam->hContact, ACKTYPE_MESSAGE, ACKRESULT_FAILED, (HANDLE)tParam->id, (WPARAM)tParam->msg);
CloseHandle( tParam->hEvent );
mir_free(tParam);
@@ -734,7 +734,7 @@ INT_PTR Meta_UserIsTyping(WPARAM hMeta, LPARAM lParam) char *proto = GetContactProto(most_online);
if (proto)
if (ProtoServiceExists(proto, PSS_USERISTYPING))
- ProtoCallService(proto, PSS_USERISTYPING, (WPARAM)most_online, (LPARAM)lParam);
+ ProtoCallService(proto, PSS_USERISTYPING, most_online, lParam);
return 0;
}
@@ -912,7 +912,7 @@ INT_PTR Meta_ContactMenuFunc(WPARAM hMeta, LPARAM lParam) strcpy(buffer, proto);
strcat(buffer, PS_GETCAPS);
- int caps = CallService(buffer, (WPARAM)PFLAGNUM_1, 0);
+ int caps = CallService(buffer, PFLAGNUM_1, 0);
if ((caps & PF1_IMSEND) || (caps & PF1_CHAT) || (proto && strcmp(proto, "IRC") == 0)) {
// set default contact for sending/status and open message window
cc->nDefault = (int)lParam;
@@ -1062,7 +1062,7 @@ int Meta_CallMostOnline(WPARAM hContact, LPARAM lParam) int Meta_PreShutdown(WPARAM wParam, LPARAM lParam)
{
- Meta_SetStatus((WPARAM)ID_STATUS_OFFLINE, 0);
+ Meta_SetStatus(ID_STATUS_OFFLINE, 0);
Meta_SuppressStatus(FALSE);
if (setStatusTimerId)
KillTimer(0, setStatusTimerId);
|