| 10152 | } |
| 10153 | |
| 10154 | staticfn void |
| 10155 | enhance_menu_text( |
| 10156 | char *buf, |
| 10157 | size_t sz, |
| 10158 | int whichpass UNUSED, |
| 10159 | boolean *bool_p, |
| 10160 | struct allopt_t *thisopt) |
| 10161 | { |
| 10162 | size_t nowsz, availsz; |
| 10163 | |
| 10164 | if (!buf) |
| 10165 | return; |
| 10166 | nowsz = strlen(buf) + 1; |
| 10167 | availsz = sz - nowsz; |
| 10168 | |
| 10169 | #if 0 /*#ifdef TTY_PERM_INVENT*/ |
| 10170 | if (bool_p == &iflags.perm_invent && WINDOWPORT(tty)) { |
| 10171 | if (thisopt->setwhere == set_gameview) |
| 10172 | Snprintf(eos(buf), availsz, " *terminal size is too small"); |
| 10173 | } |
| 10174 | #else |
| 10175 | nhUse(availsz); |
| 10176 | nhUse(bool_p); |
| 10177 | nhUse(thisopt); |
| 10178 | #endif |
| 10179 | return; |
| 10180 | } |
| 10181 | |
| 10182 | void |
| 10183 | heed_all_options(void) |