diff --git a/gdk-pixbuf/ChangeLog b/gdk-pixbuf/ChangeLog index 2aaa9f0004..4b85e60afe 100644 --- a/gdk-pixbuf/ChangeLog +++ b/gdk-pixbuf/ChangeLog @@ -1,3 +1,7 @@ +2002-02-08 Darin Adler + + * io-xbm.c: (next_int): Wean this from . + 2002-02-01 Matthias Clasen * Makefile.am: Build the tga loader as a static library. (#70157) diff --git a/gdk-pixbuf/io-xbm.c b/gdk-pixbuf/io-xbm.c index c5589bc979..d1a087e447 100644 --- a/gdk-pixbuf/io-xbm.c +++ b/gdk-pixbuf/io-xbm.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include "gdk-pixbuf-private.h" #include "gdk-pixbuf-io.h" @@ -129,8 +128,8 @@ next_int (FILE *fstream) } 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++;