# | Line 129 | Line 129 | int (*set_pixel)(); | |
---|---|---|
129 | clrtab[h].ent[RED] = r; | |
130 | clrtab[h].ent[GRN] = g; /* reassign pixel */ | |
131 | clrtab[h].ent[BLU] = b; | |
132 | < | #ifdef notdef |
133 | < | printf("pixel %d = (%d,%d,%d) (%d refs)\n", |
132 | > | #ifdef DEBUG |
133 | > | sprintf(errmsg, "pixel %d = (%d,%d,%d) (%d refs)\n", |
134 | h, r, g, b, clrtab[h].n); | |
135 | + | eputs(errmsg); |
136 | #endif | |
137 | (*set_pixel)(h, r, g, b); | |
138 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |