Indented using indent script. Corrected any C++ comments using the comment script.
This commit is contained in:
@@ -37,20 +37,22 @@
|
||||
|
||||
#if !defined(__BORLANDC__) && !defined(_MSC_VER)
|
||||
#include <ctype.h>
|
||||
int stricmp(const char *s1, const char *s2)
|
||||
int stricmp(
|
||||
const char *s1,
|
||||
const char *s2)
|
||||
{
|
||||
unsigned char c1,c2;
|
||||
unsigned char c1, c2;
|
||||
|
||||
do {
|
||||
c1 = *s1;
|
||||
c2 = *s2;
|
||||
c1 = (unsigned char) tolower( (unsigned char) c1);
|
||||
c2 = (unsigned char) tolower( (unsigned char) c2);
|
||||
c1 = (unsigned char) tolower((unsigned char) c1);
|
||||
c2 = (unsigned char) tolower((unsigned char) c2);
|
||||
s1++;
|
||||
s2++;
|
||||
} while((c1 == c2) && (c1 != '\0'));
|
||||
} while ((c1 == c2) && (c1 != '\0'));
|
||||
|
||||
return (int) c1-c2;
|
||||
return (int) c1 - c2;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user