From 113be9b81399765429dd70e96b24d29ede4dc141 Mon Sep 17 00:00:00 2001 From: anders_k Date: Thu, 25 Jun 2015 20:38:20 +0000 Subject: [PATCH] Use the correct system metric to size the invisible column-header on the instfiles page git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6588 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 2b688e8f..26375764 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -1678,7 +1678,7 @@ static INT_PTR CALLBACK InstProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM log_printf3(_T("New install of \"%s\" to \"%s\""),GetNSISStringTT(LANG_NAME),state_install_directory); GetClientRect(linsthwnd, &r); - lvc.cx = r.right - GetSystemMetrics(SM_CXHSCROLL); + lvc.cx = r.right - GetSystemMetrics(SM_CXVSCROLL); ListView_InsertColumn(linsthwnd, 0, &lvc); ListView_SetExtendedListViewStyleEx(linsthwnd, LVS_EX_LABELTIP, LVS_EX_LABELTIP);