cryptui: Remove unnecessary check.

Now that all the certificate extensions/properties/whatnot are shown,
the if check is unnecessary.
oldstable
Juan Lang 2008-12-17 08:58:06 -08:00 committed by Alexandre Julliard
parent 094fed7529
commit 48c45fb39c
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}