diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-20 11:28:16 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-04-20 11:28:16 +0000 |
commit | 6c633fcfe931754919fc564a0c683634812e3384 (patch) | |
tree | 29849f6e3dadd6dd8bf580ad6d39209f40ebbc1f /plugins/SendScreenshotPlus/src | |
parent | 39e897ae458267ad9e99ce88150838d87472e1a9 (diff) |
it was correct fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12961 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SendScreenshotPlus/src')
-rw-r--r-- | plugins/SendScreenshotPlus/src/UMainForm.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/plugins/SendScreenshotPlus/src/UMainForm.cpp b/plugins/SendScreenshotPlus/src/UMainForm.cpp index 6214ba2763..7f37f1ee40 100644 --- a/plugins/SendScreenshotPlus/src/UMainForm.cpp +++ b/plugins/SendScreenshotPlus/src/UMainForm.cpp @@ -176,13 +176,8 @@ void TfrmMain::wmInitdialog(WPARAM wParam, LPARAM lParam) { /// Headerbar pt = mir_tstrdup((TCHAR*)CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM)m_hContact, (LPARAM)GCDNF_TCHAR)); - if (pt && (m_hContact != 0)) { - TCHAR* lptString = NULL; - mir_tstradd(lptString , TranslateT("Send screenshot to\n")); - mir_tstradd(lptString , pt); - SetDlgItemText(m_hWnd, IDC_HEADERBAR, lptString); - mir_free(lptString); - } + if (pt && (m_hContact != 0)) + SetDlgItemText(m_hWnd, IDC_HEADERBAR, pt); mir_free(pt); SendDlgItemMessage(m_hWnd, IDC_HEADERBAR, WM_SETICON, ICON_BIG, (LPARAM)GetIcon(ICO_MAIN)); |