Commit 48c45fb3 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

cryptui: Remove unnecessary check.

Now that all the certificate extensions/properties/whatnot are shown, the if check is unnecessary.
parent 094fed75
......@@ -1598,8 +1598,7 @@ static void set_fields_selection(HWND hwnd, struct detail_data *data, int sel)
if (sel >= 0 && sel < sizeof(listItems) / sizeof(listItems[0]))
{
SendMessageW(list, LVM_DELETEALLITEMS, 0, 0);
if (listItems[sel].add)
listItems[sel].add(list, data);
listItems[sel].add(list, data);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment