summaryrefslogtreecommitdiff
path: root/plugins/SendScreenshotPlus/src/CSend.cpp
diff options
context:
space:
mode:
authorRené Schümann <white06tiger@gmail.com>2014-12-27 05:56:38 +0000
committerRené Schümann <white06tiger@gmail.com>2014-12-27 05:56:38 +0000
commit6d6b16c8591d375a4a4a2db1ebfb307116df3fd0 (patch)
tree0570f547e024d1992847e11616086b8fff7b6156 /plugins/SendScreenshotPlus/src/CSend.cpp
parent6ffc309d05545fe59bdca2b061b605e1dd63c664 (diff)
SendSS:
- cleaned up our mir_string stuff and removed lots of custom implementations as we use those of NG core now (couldn't get rid of mir_string though.. we still use some custom stuff) git-svn-id: http://svn.miranda-ng.org/main/trunk@11650 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src/CSend.cpp')
-rw-r--r--plugins/SendScreenshotPlus/src/CSend.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/SendScreenshotPlus/src/CSend.cpp b/plugins/SendScreenshotPlus/src/CSend.cpp
index aa15b08785..dfd4256137 100644
--- a/plugins/SendScreenshotPlus/src/CSend.cpp
+++ b/plugins/SendScreenshotPlus/src/CSend.cpp
@@ -90,7 +90,7 @@ INT_PTR CALLBACK CSend::ResultDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LP
SendMessage(hwndDlg,WM_SETICON,ICON_BIG,(LPARAM)GetIcon(ICO_MAIN));
CSend* self=(CSend*)lParam;
TCHAR* tmp=mir_tstrdup(TranslateT("Resulting URL from\n"));
- mir_tcsadd(tmp,self->m_pszSendTyp);
+ mir_tstradd(tmp,self->m_pszSendTyp);
SetDlgItemText(hwndDlg,IDC_HEADERBAR,tmp);
mir_free(tmp);
SendDlgItemMessage(hwndDlg,IDC_HEADERBAR,WM_SETICON,ICON_BIG,(LPARAM)GetIconBtn(ICO_BTN_ARROWR));
@@ -176,7 +176,7 @@ INT_PTR CALLBACK CSend::ResultDialogProc(HWND hwndDlg,UINT uMsg,WPARAM wParam,LP
EmptyClipboard();
HGLOBAL clipbuffer=GlobalAlloc(GMEM_MOVEABLE, len*sizeof(TCHAR)+sizeof(TCHAR));
TCHAR* tmp2=(TCHAR*)GlobalLock(clipbuffer);
- mir_tcsncpy(tmp2,tmp,len+1); tmp2[len]='\0';
+ mir_tstrncpy(tmp2,tmp,len+1); tmp2[len]='\0';
GlobalUnlock(clipbuffer);
SetClipboardData(CF_UNICODETEXT,clipbuffer);
CloseClipboard();
@@ -204,8 +204,8 @@ void CSend::svcSendMsgExit(const char* szMessage) {
if(m_ChatRoom){
TCHAR* tmp = mir_a2t(szMessage);
if (m_pszFileDesc) {
- mir_tcsadd(tmp, _T("\r\n"));
- mir_tcsadd(tmp, m_pszFileDesc);
+ mir_tstradd(tmp, _T("\r\n"));
+ mir_tstradd(tmp, m_pszFileDesc);
}
GC_INFO gci = {0};
int res = GC_RESULT_NOSESSION;