forked from enlightenment/enlightenment
e_util_strcmp now checks if ptrs are equal before running strcmp
SVN revision: 81336
This commit is contained in:
parent
24ce5a79a3
commit
91aad68829
|
@ -206,7 +206,10 @@ EAPI int
|
|||
e_util_strcmp(const char *s1, const char *s2)
|
||||
{
|
||||
if ((s1) && (s2))
|
||||
{
|
||||
if (s1 == s2) return 0;
|
||||
return strcmp(s1, s2);
|
||||
}
|
||||
return 0x7fffffff;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue