Indented using indent script. Corrected any C++ comments using the comment script.

This commit is contained in:
skarg
2008-03-10 21:00:48 +00:00
parent 25b4979a28
commit cf9d15631a
33 changed files with 381 additions and 436 deletions
+8 -6
View File
@@ -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