Commit 6382bc52 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

msvcrt: Don't call invalid parameter handler in str{n,i}cmp functions.

parent 023abdac
...@@ -1567,7 +1567,7 @@ int __cdecl MSVCRT__strnicmp_l(const char *s1, const char *s2, ...@@ -1567,7 +1567,7 @@ int __cdecl MSVCRT__strnicmp_l(const char *s1, const char *s2,
MSVCRT_pthreadlocinfo locinfo; MSVCRT_pthreadlocinfo locinfo;
char c1, c2; char c1, c2;
if(!MSVCRT_CHECK_PMT(s1!=NULL && s2!=NULL)) if(s1==NULL || s2==NULL)
return MSVCRT__NLSCMPERROR; return MSVCRT__NLSCMPERROR;
if(!count) if(!count)
......
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