Mac doesn't have ctype.h, or something.

This commit is contained in:
brendan%mozilla.org 1999-12-03 06:11:54 +00:00
Родитель a4a163266a
Коммит 87f3583410
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -20,9 +20,6 @@
* Contributor(s):
*/
#ifdef NS_DEBUG
#include <ctype.h>
#endif
#include "nsJSEnvironment.h"
#include "nsIScriptObjectOwner.h"
#include "nsIScriptContextOwner.h"
@ -460,7 +457,7 @@ AtomToEventHandlerName(nsIAtom *aName, char *charName, PRUint32 charNameSize)
c = char(name[i]);
// The HTML content sink must have folded to lowercase already.
NS_ASSERTION(c == '\0' || islower(c), "non-alphabetic event handler name");
NS_ASSERTION(c == '\0' || ('a' <= c && c <= 'z'), "non-alphabetic event handler name");
NS_ASSERTION(i < charNameSize, "overlong event handler name");
charName[i++] = c;