Commit 9990dc11 authored by Alexandre Julliard's avatar Alexandre Julliard

kernelbase: Fix typo in null pointer check.

parent 9d72487f
......@@ -3884,7 +3884,7 @@ static int find_substring( const struct sortguid *sortid, DWORD flags, const WCH
if (found != -1)
{
if ((flags & FIND_ENDSWITH) && found + foundlen != srclen) found = -1;
else if (*reslen) *reslen = foundlen;
else if (reslen) *reslen = foundlen;
}
free_sortkey_state( &s );
free_sortkey_state( &val );
......
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