summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
index 6d210953b0..68232006ce 100644
--- a/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
+++ b/plugins/SendScreenshotPlus/src/CSendHost_uploadpie.cpp
@@ -19,7 +19,7 @@ CSendHost_UploadPie::CSendHost_UploadPie(HWND Owner, MCONTACT hContact, bool bAs
: m_expire(expire), CSend(Owner, hContact, bAsync)
{
m_EnableItem = SS_DLG_DESCRIPTION | SS_DLG_AUTOSEND | SS_DLG_DELETEAFTERSSEND;
- m_pszSendTyp = LPGENT("Image upload");
+ m_pszSendTyp = LPGENW("Image upload");
}
CSendHost_UploadPie::~CSendHost_UploadPie()
@@ -92,7 +92,7 @@ void CSendHost_UploadPie::SendThread(void* obj)
}
else {/// check error mess from server
const char* err = GetHTMLContent(reply->pData, "<p id=\"error\"", "</p>");
- TCHAR* werr;
+ wchar_t* werr;
if (err) werr = mir_a2t(err);
else werr = mir_a2t(reply->pData);
self->Error(L"%s", werr);