From a68bd126f47dd0b7717c0c5e8a6e6706b63a48bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 27 Dec 2018 21:36:54 +0300 Subject: fixes #1673 (Find/add dialog lost column headers text) --- src/mir_app/src/searchresults.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') diff --git a/src/mir_app/src/searchresults.cpp b/src/mir_app/src/searchresults.cpp index 00a7a6618f..385c2ef084 100644 --- a/src/mir_app/src/searchresults.cpp +++ b/src/mir_app/src/searchresults.cpp @@ -62,13 +62,13 @@ void LoadColumnSizes(HWND hwndResults, const char *szProto) FindAddDlgData *dat = (FindAddDlgData*)GetWindowLongPtr(GetParent(hwndResults), GWLP_USERDATA); LVCOLUMN lvc; - lvc.mask = LVCF_TEXT | LVCF_WIDTH; int columnOrder[NUM_COLUMNID]; bool colOrdersValid = true; for (int i = 0; i < NUM_COLUMNID; i++) { bool bNeedsFree = false; + lvc.mask = LVCF_TEXT | LVCF_WIDTH; if (szColumnNames[i] != nullptr) lvc.pszText = TranslateW(szColumnNames[i]); else { -- cgit v1.2.3