summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/Scriver/src/chat/tools.cpp2
-rw-r--r--plugins/TabSRMM/src/chat/tools.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Scriver/src/chat/tools.cpp b/plugins/Scriver/src/chat/tools.cpp
index 998785dc09..122a869fcc 100644
--- a/plugins/Scriver/src/chat/tools.cpp
+++ b/plugins/Scriver/src/chat/tools.cpp
@@ -694,7 +694,7 @@ UINT CreateGCMenu(HWND hwnd, HMENU *hMenu, int iIndex, POINT pt, SESSION_INFO *s
{
TCHAR szTemp[30];
if (pszUID)
- mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), szTemp, pszUID);
+ mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), pszUID);
else
lstrcpyn(szTemp, TranslateT("&Message"), 24);
diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp
index 032171dc02..ce3988e1e2 100644
--- a/plugins/TabSRMM/src/chat/tools.cpp
+++ b/plugins/TabSRMM/src/chat/tools.cpp
@@ -957,7 +957,7 @@ UINT CreateGCMenu(HWND hwndDlg, HMENU *hMenu, int iIndex, POINT pt, SESSION_INFO
else if (iIndex == 0) {
TCHAR szTemp[30];
if (pszUID)
- mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), szTemp, pszUID);
+ mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), pszUID);
else
lstrcpyn(szTemp, TranslateT("&Message"), 24);