Juan Lang : cryptui: Remove unnecessary check.
Alexandre Julliard
julliard at winehq.org
Thu Dec 18 08:08:43 CST 2008
Module: wine
Branch: master
Commit: 48c45fb39c0e7326d1267715eb9f519609b2ef50
URL: http://source.winehq.org/git/wine.git/?a=commit;h=48c45fb39c0e7326d1267715eb9f519609b2ef50
Author: Juan Lang <juan.lang at gmail.com>
Date: Wed Dec 17 08:58:06 2008 -0800
cryptui: Remove unnecessary check.
Now that all the certificate extensions/properties/whatnot are shown,
the if check is unnecessary.
---
dlls/cryptui/main.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c
index cdfed20..4f32726 100644
--- a/dlls/cryptui/main.c
+++ b/dlls/cryptui/main.c
@@ -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);
}
}
More information about the wine-cvs
mailing list