summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2014-05-11 18:46:57 +0000
committerKirill Volinsky <mataes2007@gmail.com>2014-05-11 18:46:57 +0000
commitf53da655fee661cb238b78bd618dc47c8b91ad93 (patch)
tree967fe054b902e4d219bed6d585373ef5c6816138 /src
parent1a843cf0c5c538a40a83e48c3af86ac58bc7863c (diff)
fix for header in about program window
git-svn-id: http://svn.miranda-ng.org/main/trunk@9161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/core/stdhelp/about.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/stdhelp/about.cpp b/src/core/stdhelp/about.cpp
index 974a9a523b..ba33896248 100644
--- a/src/core/stdhelp/about.cpp
+++ b/src/core/stdhelp/about.cpp
@@ -52,11 +52,7 @@ INT_PTR CALLBACK DlgProcAbout(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
TCHAR str[64];
mir_sntprintf(str, SIZEOF(str), STR_VERSION_FORMAT, productVersion);
-
- TCHAR oldTitle[256], newTitle[256];
- GetDlgItemText(hwndDlg, IDC_HEADERBAR, oldTitle, SIZEOF(oldTitle));
- mir_sntprintf(newTitle, SIZEOF(newTitle), oldTitle, str);
- SetDlgItemText(hwndDlg, IDC_HEADERBAR, newTitle);
+ SetDlgItemText(hwndDlg, IDC_HEADERBAR, str);
}
ShowWindow(GetDlgItem(hwndDlg, IDC_CREDITSFILE), SW_HIDE);
{