From e3cefc7b6ca803e3f87dbadae54a110332778490 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 5 Jul 2012 22:41:06 +0000 Subject: - first of the /Core standard plugins; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@778 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/sremail/email.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/sremail') diff --git a/src/modules/sremail/email.cpp b/src/modules/sremail/email.cpp index 0f7ca69020..3782f132ed 100644 --- a/src/modules/sremail/email.cpp +++ b/src/modules/sremail/email.cpp @@ -37,14 +37,14 @@ static INT_PTR SendEMailCommand(WPARAM wParam, LPARAM lParam) char *szUrl; char *szProto; - szProto=(char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, wParam, 0); + szProto = (char*)CallService(MS_PROTO_GETCONTACTBASEPROTO, wParam, 0); if (szProto == NULL || DBGetContactSettingString((HANDLE)wParam, szProto, "e-mail", &dbv)) { if (DBGetContactSettingString((HANDLE)wParam, "UserInfo", "Mye-mail0", &dbv)) { MessageBox((HWND)lParam, TranslateT("User has not registered an e-mail address"), TranslateT("Send e-mail"), MB_OK); return 1; } } - szUrl=(char*)mir_alloc(lstrlenA(dbv.pszVal)+8); + szUrl = (char*)mir_alloc(lstrlenA(dbv.pszVal)+8); lstrcpyA(szUrl, "mailto:"); lstrcatA(szUrl, dbv.pszVal); mir_free(dbv.pszVal); -- cgit v1.2.3