diff options
author | George Hazan <ghazan@miranda.im> | 2022-09-26 19:27:33 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-09-26 19:27:33 +0300 |
commit | 35f6abcc7f069b3f239215842ec049c716f9b758 (patch) | |
tree | ca1d7ff100fd15236abdfce4639a606769fe5944 /plugins | |
parent | c5dc28ec2272a865ef2f28fd7ab151b55517fedf (diff) |
code cleaning
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/FTPFileYM/src/utils.cpp | 2 | ||||
-rw-r--r-- | plugins/HTTPServer/src/GuiElements.cpp | 2 | ||||
-rw-r--r-- | plugins/MirOTR/src/options.cpp | 2 | ||||
-rw-r--r-- | plugins/New_GPG/src/ui.cpp | 2 | ||||
-rw-r--r-- | plugins/ProxySwitch/src/main.cpp | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/plugins/FTPFileYM/src/utils.cpp b/plugins/FTPFileYM/src/utils.cpp index f09f647a95..b38a095635 100644 --- a/plugins/FTPFileYM/src/utils.cpp +++ b/plugins/FTPFileYM/src/utils.cpp @@ -64,7 +64,7 @@ wchar_t* Utils::getFileNameFromPath(wchar_t *stzPath) void Utils::copyToClipboard(char *szText)
{
- Utils_ClipboardCopy(_A2T(szText));
+ Utils_ClipboardCopy(szText);
}
void Utils::curlSetOpt(CURL *hCurl, ServerList::FTP *ftp, char *url, struct curl_slist *headerList, char *errorBuff)
diff --git a/plugins/HTTPServer/src/GuiElements.cpp b/plugins/HTTPServer/src/GuiElements.cpp index b0a8805461..268ff071cd 100644 --- a/plugins/HTTPServer/src/GuiElements.cpp +++ b/plugins/HTTPServer/src/GuiElements.cpp @@ -898,7 +898,7 @@ static INT_PTR CALLBACK DlgProcStatsticView(HWND hwndDlg, UINT msg, WPARAM wPara return TRUE;
if (LOWORD(wParam) == ID_SHARELIST_COPYLINK)
- Utils_ClipboardCopy(_A2T(sLink.c_str()));
+ Utils_ClipboardCopy(sLink.c_str());
else
Utils_OpenUrl(sLink.c_str());
}
diff --git a/plugins/MirOTR/src/options.cpp b/plugins/MirOTR/src/options.cpp index 6236df3f6c..8ef718f6ae 100644 --- a/plugins/MirOTR/src/options.cpp +++ b/plugins/MirOTR/src/options.cpp @@ -410,7 +410,7 @@ public: if (proto) { char fprint[45]; if (otrl_privkey_fingerprint(otr_user_state, fprint, proto, proto)) - Utils_ClipboardCopy(_A2T(fprint)); + Utils_ClipboardCopy(fprint); } break; diff --git a/plugins/New_GPG/src/ui.cpp b/plugins/New_GPG/src/ui.cpp index 7ae95a8443..78ff38af92 100644 --- a/plugins/New_GPG/src/ui.cpp +++ b/plugins/New_GPG/src/ui.cpp @@ -551,7 +551,7 @@ public: return; params.out.Remove('\r'); - Utils_ClipboardCopy(_A2T(params.out)); + Utils_ClipboardCopy(params.out); } void onClick_EXPORT_PRIVATE(CCtrlButton *) diff --git a/plugins/ProxySwitch/src/main.cpp b/plugins/ProxySwitch/src/main.cpp index 470bb4ed80..3b08113a3a 100644 --- a/plugins/ProxySwitch/src/main.cpp +++ b/plugins/ProxySwitch/src/main.cpp @@ -105,7 +105,7 @@ static INT_PTR CopyIP2Clipboard(WPARAM, LPARAM, LPARAM idx) { mir_cslock lck(csNIF_List); if (g_arNIF[idx].IPcount != 0) - Utils_ClipboardCopy(_A2T(g_arNIF[idx].IPstr)); + Utils_ClipboardCopy(g_arNIF[idx].IPstr); return 0; } |