Commit 96ed828d authored by Juergen Schmied's avatar Juergen Schmied Committed by Alexandre Julliard

Fixed typo.

parent c21a911c
......@@ -1248,7 +1248,7 @@ BOOL WINAPI DdeFreeStringHandle( DWORD idInst, HSZ hsz )
/* First check instance
*/
reference_inst = Find_Instance_Entry(idInst);
if ( (reference_inst == NULL) | (reference_inst->Node_list == NULL))
if ( (reference_inst == NULL) || (reference_inst->Node_list == NULL))
{
if ( Release_reserved_mutex(handle_mutex,"handle_mutex",FALSE,FALSE)) return TRUE;
/* Nothing has been initialised - exit now ! can return TRUE since effect is the same */
......
......@@ -182,7 +182,7 @@ INT WINAPI WideCharToMultiByte(UINT page, DWORD flags, LPCWSTR src,
int care_for_eos=0;
int dont_copy= (dstlen==0);
if ((!src) | ((!dst) && (!dont_copy)) )
if ((!src) || ((!dst) && (!dont_copy)) )
{ SetLastError(ERROR_INVALID_PARAMETER);
return 0;
}
......
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