summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-27 11:50:07 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-27 11:50:07 +0000
commitddd1af0fdf37364c9472faedad941b4cc5f1b465 (patch)
treed4eb46f481a47b6e16e40b39860e830e40f9dbcf /plugins/SendScreenshotPlus/src
parentcc3be4384048697fe9b7716c11b7bd726b9ca650 (diff)
<tchar.h> removed from <m_system.h>
git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src')
-rw-r--r--plugins/SendScreenshotPlus/src/CSend.cpp2
-rw-r--r--plugins/SendScreenshotPlus/src/UAboutForm.cpp2
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp8
-rw-r--r--plugins/SendScreenshotPlus/src/dlg_msgbox.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp
index 1a9f0de514..cfbbb32b07 100644
--- a/plugins/SendScreenshotPlus/src/CSend.cpp
+++ b/plugins/SendScreenshotPlus/src/CSend.cpp
@@ -399,7 +399,7 @@ void CSend::Error(LPCTSTR pszFormat, ...)
{
wchar_t tszMsg[MAX_SECONDLINE];
- mir_sntprintf(tszMsg, L"%s - %s", _T(SZ_SENDSS), TranslateT("Error"));
+ mir_sntprintf(tszMsg, L"%s - %s", _A2W(SZ_SENDSS), TranslateT("Error"));
mir_free(m_ErrorTitle), m_ErrorTitle = mir_tstrdup(tszMsg);
va_list vl;
diff --git a/plugins/SendScreenshotPlus/src/UAboutForm.cpp b/plugins/SendScreenshotPlus/src/UAboutForm.cpp
index 7a468f99c4..ae216cbbcd 100644
--- a/plugins/SendScreenshotPlus/src/UAboutForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UAboutForm.cpp
@@ -94,7 +94,7 @@ LRESULT TfrmAbout::wmInitdialog(WPARAM, LPARAM)
//License
{
wchar_t* pszText = NULL;
- mir_tstradd(pszText, _T(__COPYRIGHT));
+ mir_tstradd(pszText, _A2W(__COPYRIGHT));
mir_tstradd(pszText, L"\r\n\r\n");
HRSRC hRes = FindResource(g_hSendSS, MAKEINTRESOURCE(IDR_LICENSE), L"TEXT");
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp
index bf8edb1658..765cbfc410 100644
--- a/plugins/SendScreenshotPlus/src/UMainForm.cpp
+++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp
@@ -940,9 +940,9 @@ void TfrmMain::edtSizeUpdate(HWND hWnd, BOOL ClientArea, HWND hTarget, UINT Ctrl
pt.y = pt.y - rect.top; //offset y for client area
rect = cliRect;
}
- // _itot_s(rect.right - rect.left, B, 33, 10);
+ // _itow_s(rect.right - rect.left, B, 33, 10);
_itow(rect.right - rect.left, B, 10);
- // _itot_s(rect.bottom - rect.top, H, 16, 10);
+ // _itow_s(rect.bottom - rect.top, H, 16, 10);
_itow(rect.bottom - rect.top, H, 10);
mir_tstrncat(B, L"x", _countof(B) - mir_tstrlen(B));
mir_tstrncat(B, H, _countof(B) - mir_tstrlen(B));
@@ -952,9 +952,9 @@ void TfrmMain::edtSizeUpdate(HWND hWnd, BOOL ClientArea, HWND hTarget, UINT Ctrl
void TfrmMain::edtSizeUpdate(RECT rect, HWND hTarget, UINT Ctrl)
{
wchar_t B[33], H[16];
- // _itot_s(ABS(rect.right - rect.left), B, 33, 10);
+ // _itow_s(ABS(rect.right - rect.left), B, 33, 10);
_itow(ABS(rect.right - rect.left), B, 10);
- // _itot_s(ABS(rect.bottom - rect.top), H, 16, 10);
+ // _itow_s(ABS(rect.bottom - rect.top), H, 16, 10);
_itow(ABS(rect.bottom - rect.top), H, 10);
mir_tstrncat(B, L"x", _countof(B) - mir_tstrlen(B));
mir_tstrncat(B, H, _countof(B) - mir_tstrlen(B));
diff --git a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
index 5562180bbb..975be30b92 100644
--- a/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
+++ b/plugins/SendScreenshotPlus/src/dlg_msgbox.cpp
@@ -700,7 +700,7 @@ INT_PTR CALLBACK MsgBox(HWND hParent, UINT uType, LPCTSTR pszTitle, LPCTSTR pszI
INT_PTR CALLBACK MsgErr(HWND hParent, LPCTSTR pszFormat, ...)
{
wchar_t tszTitle[MAX_SECONDLINE], tszMsg[MAX_SECONDLINE];
- mir_sntprintf(tszTitle, L"%s - %s", _T(MODNAME), TranslateT("Error"));
+ mir_sntprintf(tszTitle, L"%s - %s", _A2W(MODNAME), TranslateT("Error"));
va_list vl;
va_start(vl, pszFormat);