diff options
author | George Hazan <george.hazan@gmail.com> | 2013-11-24 17:27:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-11-24 17:27:34 +0000 |
commit | 5b6f2daa070dff9998af4259daa3926cb70bb817 (patch) | |
tree | daf84f3668e9de0dd2b29d60859d596475b29064 /protocols/MSN/src/msn_menu.cpp | |
parent | 26c78a6a63f3fd7bc2f3179df04615ebbd49eb8f (diff) |
- custom UrlEncode replaced with the core function;
- fix for opening Hotmail Inbox in a browser;
- end of strange buffers;
- version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@6976 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_menu.cpp')
-rw-r--r-- | protocols/MSN/src/msn_menu.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/protocols/MSN/src/msn_menu.cpp b/protocols/MSN/src/msn_menu.cpp index b6760000cb..405c5da7dc 100644 --- a/protocols/MSN/src/msn_menu.cpp +++ b/protocols/MSN/src/msn_menu.cpp @@ -67,13 +67,7 @@ INT_PTR CMsnProto::MsnSendHotmail(WPARAM wParam, LPARAM) if (MSN_IsMeByContact(hContact, szEmail))
MsnGotoInbox(0, 0);
else if (msnLoggedIn)
- {
- char szEmailEnc[MSN_MAX_EMAIL_LEN*3], szUrl[256];
-
- UrlEncode(szEmail, szEmailEnc, sizeof(szEmailEnc));
- mir_snprintf(szUrl, sizeof(szUrl), "http://mail.live.com?rru=compose?to=%s", szEmailEnc);
- MsnInvokeMyURL(true, szUrl);
- }
+ MsnInvokeMyURL(true, CMStringA().Format("http://mail.live.com?rru=compose?to=%s", ptrA(mir_urlEncode(szEmail))));
return 0;
}
|