summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-16 08:57:38 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-16 08:57:38 +0000
commit09cbe83c2843be82c8b2ce50b2c67cda0c4dc38d (patch)
treec350b767018c638e14376aa4a839ebba376a414c
parent6b304a42ad762a284cd1223d171b92d65b72491f (diff)
removed not needed information from header
git-svn-id: http://svn.miranda-ng.org/main/trunk@12857 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--src/core/stduserinfo/res/resource.rc2
-rw-r--r--src/core/stduserinfo/src/userinfo.cpp4
2 files changed, 1 insertions, 5 deletions
diff --git a/src/core/stduserinfo/res/resource.rc b/src/core/stduserinfo/res/resource.rc
index 9964d2943d..63b5fd52eb 100644
--- a/src/core/stduserinfo/res/resource.rc
+++ b/src/core/stduserinfo/res/resource.rc
@@ -66,7 +66,7 @@ EXSTYLE WS_EX_CONTROLPARENT
CAPTION "%s: user details"
FONT 8, "MS Shell Dlg", 0, 0, 0x1
BEGIN
- CONTROL "%s\nView personal user details and more",IDC_HEADERBAR,
+ CONTROL "View personal user details and more",IDC_HEADERBAR,
"MHeaderbarCtrl",0x0,0,0,318,25
CONTROL "",IDC_PAGETREE,"SysTreeView32",TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS | TVS_NOTOOLTIPS | TVS_TRACKSELECT | TVS_FULLROWSELECT | TVS_NONEVENHEIGHT | WS_HSCROLL | WS_TABSTOP,3,30,76,176,WS_EX_STATICEDGE
CONTROL "Tab1",IDC_TABS,"SysTabControl32",TCS_HOTTRACK | TCS_MULTILINE | WS_TABSTOP,85,29,228,158
diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp
index 132c895318..9fc5cbe86a 100644
--- a/src/core/stduserinfo/src/userinfo.cpp
+++ b/src/core/stduserinfo/src/userinfo.cpp
@@ -258,10 +258,6 @@ static INT_PTR CALLBACK DlgProcDetails(HWND hwndDlg, UINT msg, WPARAM wParam, LP
mir_sntprintf(newTitle, SIZEOF(newTitle), oldTitle, name);
SetWindowText(hwndDlg, newTitle);
- GetDlgItemText(hwndDlg, IDC_HEADERBAR, oldTitle, SIZEOF(oldTitle));
- mir_sntprintf(newTitle, SIZEOF(newTitle), oldTitle, name);
- SetDlgItemText(hwndDlg, IDC_HEADERBAR, newTitle);
-
//////////////////////////////////////////////////////////////////////
LOGFONT lf;
HFONT hNormalFont = (HFONT)SendDlgItemMessage(hwndDlg, IDC_NAME, WM_GETFONT, 0, 0);