cryptui: Remove unnecessary check.
Now that all the certificate extensions/properties/whatnot are shown, the if check is unnecessary.
This commit is contained in:
parent
094fed7529
commit
48c45fb39c
|
@ -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]))
|
if (sel >= 0 && sel < sizeof(listItems) / sizeof(listItems[0]))
|
||||||
{
|
{
|
||||||
SendMessageW(list, LVM_DELETEALLITEMS, 0, 0);
|
SendMessageW(list, LVM_DELETEALLITEMS, 0, 0);
|
||||||
if (listItems[sel].add)
|
listItems[sel].add(list, data);
|
||||||
listItems[sel].add(list, data);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue