diff options
-rw-r--r-- | src/core/stdhelp/about.cpp | 6 |
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);
{
|