Skip to content

Commit

Permalink
[win32] KeyManagerTabPrivate::initDialog(): No LVCOLUMN::iItem field.
Browse files Browse the repository at this point in the history
This fixes a regression from commit 3ad5a7c.
([win32] Remove unnecessary memset()s of LVITEM and LVCOLUMN.)
  • Loading branch information
GerbilSoft committed Dec 7, 2024
1 parent 3ad5a7c commit cadbae4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/win32/config/KeyManagerTab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,6 @@ void KeyManagerTabPrivate::initDialog(void)
lvColumn.mask = LVCF_FMT | LVCF_TEXT | LVCF_SUBITEM;
lvColumn.fmt = LVCFMT_LEFT;
lvColumn.pszText = const_cast<LPTSTR>(tsColTitle.c_str());
lvColumn.iItem = 0;
lvColumn.iSubItem = 0;
ListView_InsertColumn(hListView, 0, &lvColumn);

Expand Down

0 comments on commit cadbae4

Please sign in to comment.