summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SendScreenshotPlus/res/resource.rc4
-rw-r--r--plugins/SendScreenshotPlus/src/UMainForm.cpp9
2 files changed, 4 insertions, 9 deletions
diff --git a/plugins/SendScreenshotPlus/res/resource.rc b/plugins/SendScreenshotPlus/res/resource.rc
index fac296540f..5c3043e68a 100644
--- a/plugins/SendScreenshotPlus/res/resource.rc
+++ b/plugins/SendScreenshotPlus/res/resource.rc
@@ -52,10 +52,10 @@ END
IDD_UMainForm DIALOGEX 0, 0, 231, 164
STYLE DS_3DLOOK | DS_CENTER | DS_SHELLFONT | WS_CAPTION | WS_POPUP | WS_SYSMENU
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CONTROLPARENT | WS_EX_APPWINDOW
-CAPTION "Send screenshot"
+CAPTION "Send screenshot to"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- CONTROL "Send screenshot to\n<unknown>",IDC_HEADERBAR,
+ CONTROL "<unknown>",IDC_HEADERBAR,
"MHeaderbarCtrl",0x0,0,0,231,25
CONTROL "",IDC_CAPTURETAB,"SysTabControl32",TCS_RAGGEDRIGHT | WS_TABSTOP,8,36,218,68
CONTROL "Ti&med capture",ID_chkTimed,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,106,85,10
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));