max_colors
if (max_colors != 0)
if (max_colors == -1)
COLORS = max_colors > MAX_COLORS ? MAX_COLORS : max_colors;
if (max_colors > 0 && max_pairs > 0 &&
max_colors = 1 << is.depth;
cm = xgetcmap(fd, max_colors);
if (i >= max_colors) {
cm = xgetcmap(fd, max_colors);
int ch, fd, i, iflag, max_colors, did_reset;