Commit 804eb5c4 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

cryptui: Avoid an unneeded strlen() call.

parent 7f37fc13
......@@ -3497,7 +3497,7 @@ static void set_general_cert_properties(HWND hwnd, struct edit_cert_data *data)
static void set_cert_string_property(PCCERT_CONTEXT cert, DWORD prop,
LPWSTR str)
{
if (str && strlenW(str))
if (str && *str)
{
CRYPT_DATA_BLOB blob;
......
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