* io-xbm.c: (next_int): Wean this from <ctype.h>.
+2002-02-08 Darin Adler <darin@bentspoon.com>
+
+ * io-xbm.c: (next_int): Wean this from <ctype.h>.
+
2002-02-01 Matthias Clasen <matthiasc@poet.de>
* Makefile.am: Build the tga loader as a static library. (#70157)
#include <string.h>
#include <unistd.h>
#include <stdio.h>
-#include <ctype.h>
#include <errno.h>
#include "gdk-pixbuf-private.h"
#include "gdk-pixbuf-io.h"
} else {
/* trim high bits, check type and accumulate */
ch &= 0xff;
- if (isascii (ch) && isxdigit (ch)) {
- value = (value << 4) + hex_table[ch];
+ if (g_ascii_isxdigit (ch)) {
+ value = (value << 4) + g_ascii_xdigit_value (ch);
gotone++;
} else if ((hex_table[ch]) < 0 && gotone) {
done++;