Copyright (c) 1988-1997 Sam Leffler
Copyright (c) 1991-1997 Silicon Graphics, Inc.
-
- Permission to use, copy, modify, distribute, and sell this software and
+
+ Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee, provided
that (i) the above copyright notices and this permission notice appear in
all copies of the software and related documentation, and (ii) the names of
publicity relating to the software without the specific, prior written
permission of Sam Leffler and Silicon Graphics. */
-/* Quantizing code based off of the paper
+/* Quantizing code based off of the paper
Color Image Quantization for Frame Buffer Display, Paul Heckbert,
Siggraph '82 proceedings, pp. 297-307 */
box->bmin = blue;
if (blue > box->bmax)
box->bmax = blue;
-#if defined(SXEMACS_DEBUG) && SXEMACS_DEBUG
- if( red < 0 || green < 0 || blue < 0 ||
+#if defined(DEBUG_SXEMACS) && DEBUG_SXEMACS
+ if( red < 0 || green < 0 || blue < 0 ||
! (red < B_LEN && green < B_LEN && blue < B_LEN) ) {
abort();
} else