| 1564 | static void emit256(int u256coloridx); |
| 1565 | |
| 1566 | static void emit24bit(long mcolor) |
| 1567 | { |
| 1568 | static char tcolorbuf[QBUFSZ]; |
| 1569 | |
| 1570 | Snprintf(tcolorbuf, sizeof tcolorbuf, tcfmtstr, |
| 1571 | ((mcolor >> 16) & 0xFF), /* red */ |
| 1572 | ((mcolor >> 8) & 0xFF), /* green */ |
| 1573 | ((mcolor >> 0) & 0xFF)); /* blue */ |
| 1574 | xputs(tcolorbuf); |
| 1575 | } |
| 1576 | |
| 1577 | static void emit256(int color256idx) |
| 1578 | { |
no test coverage detected