diff options
Diffstat (limited to 'qtools/qcstring.cpp')
-rw-r--r-- | qtools/qcstring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qcstring.cpp b/qtools/qcstring.cpp index 77dc386..2d2e0c5 100644 --- a/qtools/qcstring.cpp +++ b/qtools/qcstring.cpp @@ -183,7 +183,7 @@ int qstricmp( const char *str1, const char *str2 ) int res; uchar c; if ( !s1 || !s2 ) - return s1 == s1 ? 0 : (int)((long)s2 - (long)s1); + return s1 == s2 ? 0 : (int)((long)s2 - (long)s1); for ( ; !(res = (c=tolower(*s1)) - tolower(*s2)); s1++, s2++ ) if ( !c ) // strings are equal break; |