summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2014-02-27 11:49:07 +0000
committerAlexander Lantsev <aunsane@gmail.com>2014-02-27 11:49:07 +0000
commit11e87912bbd1082ad3939348ce891efaf547fd6c (patch)
treef2199f711a5f491bae5950a02c1c63034dbdd99f /plugins/Dropbox/src/dropbox.cpp
parent122e8eefe2aa6a93a2ee27c66b39ea52658bbfee (diff)
Dropbox: shows sent link in history
git-svn-id: http://svn.miranda-ng.org/main/trunk@8286 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Dropbox/src/dropbox.cpp b/plugins/Dropbox/src/dropbox.cpp
index 64fc3bfae3..2cd459759f 100644
--- a/plugins/Dropbox/src/dropbox.cpp
+++ b/plugins/Dropbox/src/dropbox.cpp
@@ -54,7 +54,7 @@ void CDropbox::RequestAcceessToken()
mir_snprintf(
data,
SIZEOF(data),
- Translate("grant_type=authorization_code&code=%s"),
+ "grant_type=authorization_code&code=%s",
request_token);
HttpRequest *request = new HttpRequest(hNetlibUser, REQUEST_POST, DROPBOX_API_URL "/oauth2/token");
@@ -124,7 +124,7 @@ void CDropbox::RequestApiAuthorizationAsync(void *arg)
if (HasAccessToken() && MessageBox(
NULL,
TranslateT("Are you sure you want to request athorization?"),
- TranslateT("Request athorization"),
+ TranslateT("Request authorization"),
MB_YESNO | MB_ICONQUESTION) == IDYES)
{
INSTANCE->DestroyAcceessToken();