MCPcopy Create free account
hub / github.com/NetHack/NetHack / win_choices_find

Function win_choices_find

src/windows.c:252–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250
251#if defined(WINCHAIN) || defined(TTY_GRAPHICS)
252staticfn struct win_choices *
253win_choices_find(const char *s)
254{
255 int i;
256
257 for (i = 0; winchoices[i].procs; i++) {
258 if (!strcmpi(s, winchoices[i].procs->name)) {
259 return &winchoices[i];
260 }
261 }
262 return (struct win_choices *) 0;
263}
264#endif
265
266void

Callers 3

check_tty_wincapFunction · 0.85
check_tty_wincap2Function · 0.85
commit_windowchainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected