diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-24 20:25:53 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-01-24 20:25:53 +0000 |
commit | f5f33f37e22e5dbd2a6d50282bb6c4ca45985583 (patch) | |
tree | 6e6646551e7d870d8d244b0e22b183252b4e3d0f /plugins/SMS/src/SMS_svc.cpp | |
parent | 76dd2ab0cd5ca8e9d1da72bbff5a12d15ab6f8cc (diff) |
translation fixes and code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@7865 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SMS/src/SMS_svc.cpp')
-rw-r--r-- | plugins/SMS/src/SMS_svc.cpp | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/plugins/SMS/src/SMS_svc.cpp b/plugins/SMS/src/SMS_svc.cpp index 49cda03964..7e5d31be65 100644 --- a/plugins/SMS/src/SMS_svc.cpp +++ b/plugins/SMS/src/SMS_svc.cpp @@ -2,7 +2,7 @@ int LoadServices(void)
{
- CHAR szServiceFunction[MAX_PATH],*pszServiceFunctionName;
+ char szServiceFunction[MAX_PATH],*pszServiceFunctionName;
CopyMemory(szServiceFunction,PROTOCOL_NAMEA,PROTOCOL_NAME_SIZE);
pszServiceFunctionName=szServiceFunction+PROTOCOL_NAME_LEN;
@@ -25,7 +25,7 @@ int LoadModules(void) HookEvent(ME_DB_EVENT_ADDED,handleNewMessage);
HookEvent(ME_PROTO_ACCLISTCHANGED,RefreshAccountList);
- CHAR szServiceFunction[MAX_PATH];
+ char szServiceFunction[MAX_PATH];
mir_snprintf(szServiceFunction,sizeof(szServiceFunction),"%s%s",PROTOCOL_NAMEA,SMS_SEND);
CLISTMENUITEM mi = { sizeof(mi) };
@@ -79,7 +79,7 @@ int SendSMSMenuCommand(WPARAM wParam,LPARAM lParam) for (HANDLE hContact = db_find_first(); hContact; hContact = db_find_next(hContact)) {
if (GetContactPhonesCount(hContact)) {
- SEND_DLG_ITEM_MESSAGEW(hwndSendSms,IDC_NAME,CB_ADDSTRING,0,(LPARAM)GetContactNameW(hContact));
+ SendDlgItemMessage(hwndSendSms,IDC_NAME,CB_ADDSTRING,0,(LPARAM)GetContactNameW(hContact));
SendSMSWindowSMSContactAdd(hwndSendSms,hContact);
}
}
@@ -151,19 +151,3 @@ void RestoreUnreadMessageAlerts(void) handleNewMessage(NULL, (LPARAM)hDbEvent);
}
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|