diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-23 18:25:50 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-07-23 18:25:50 +0000 |
commit | 3b05e84e27e50e8b44cb86cbc0a8eb1b639d7223 (patch) | |
tree | 63377ec11885266c9dbbe38d65940123958c563c /plugins/TabSRMM | |
parent | 8955f0e5c3c236dd5b38f8ba3628f31cce798299 (diff) |
- [5454] also for TabSRMM and Scriver
git-svn-id: http://svn.miranda-ng.org/main/trunk@5460 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r-- | plugins/TabSRMM/src/chat/tools.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/plugins/TabSRMM/src/chat/tools.cpp b/plugins/TabSRMM/src/chat/tools.cpp index 22aaf0611f..032171dc02 100644 --- a/plugins/TabSRMM/src/chat/tools.cpp +++ b/plugins/TabSRMM/src/chat/tools.cpp @@ -955,16 +955,15 @@ UINT CreateGCMenu(HWND hwndDlg, HMENU *hMenu, int iIndex, POINT pt, SESSION_INFO gcmi.Type = MENU_ON_LOG;
}
else if (iIndex == 0) {
- TCHAR szTemp[30], szTemp2[30];
- lstrcpyn(szTemp, TranslateT("&Message"), 24);
+ TCHAR szTemp[30];
if (pszUID)
- mir_sntprintf(szTemp2, SIZEOF(szTemp2), _T("%s %s"), szTemp, pszUID);
+ mir_sntprintf(szTemp, SIZEOF(szTemp), TranslateT("&Message %s"), szTemp, pszUID);
else
- lstrcpyn(szTemp2, szTemp, 24);
+ lstrcpyn(szTemp, TranslateT("&Message"), 24);
- if (lstrlen(szTemp2) > 22)
- lstrcpyn(szTemp2 + 22, _T("..."), 4);
- ModifyMenu(*hMenu, ID_MESS, MF_STRING | MF_BYCOMMAND, ID_MESS, szTemp2);
+ if (lstrlen(szTemp) > 22)
+ lstrcpyn(szTemp + 22, _T("..."), 4);
+ ModifyMenu(*hMenu, ID_MESS, MF_STRING | MF_BYCOMMAND, ID_MESS, szTemp);
gcmi.Type = MENU_ON_NICKLIST;
}
|