summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-27 21:36:54 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-27 21:36:54 +0300
commita68bd126f47dd0b7717c0c5e8a6e6706b63a48bc (patch)
tree8847d43aca87dd0d74592600f07b471d9283aedf /src/mir_app
parent38af197ebf6ff9f947d02338262ad8ebe48f26d3 (diff)
fixes #1673 (Find/add dialog lost column headers text)
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/searchresults.cpp2
1 files changed, 1 insertions, 1 deletions
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 {