used by X11 for "tty status" even when STATUS_HILITES is disabled */
| 2157 | |
| 2158 | /* used by X11 for "tty status" even when STATUS_HILITES is disabled */ |
| 2159 | const char * |
| 2160 | bl_idx_to_fldname(int idx) |
| 2161 | { |
| 2162 | if (idx >= 0 && idx < MAXBLSTATS) |
| 2163 | return initblstats[idx].fldname; |
| 2164 | return (const char *) 0; |
| 2165 | } |
| 2166 | |
| 2167 | /* used when rendering hitpointbar; inoutbuf[] has been padded with |
| 2168 | trailing spaces; replace pairs of spaces with pairs of space+dash */ |
no outgoing calls
no test coverage detected