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

Function docontact

src/pager.c:2717–2745  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2715}
2716
2717staticfn void
2718docontact(void)
2719{
2720 winid cwin = create_nhwindow(NHW_TEXT);
2721 char buf[BUFSZ];
2722
2723 if (sysopt.support) {
2724 /*XXX overflow possibilities*/
2725 Sprintf(buf, "To contact local support, %s", sysopt.support);
2726 putstr(cwin, 0, buf);
2727 putstr(cwin, 0, "");
2728 } else if (sysopt.fmtd_wizard_list) { /* formatted SYSCF WIZARDS */
2729 Sprintf(buf, "To contact local support, contact %s.",
2730 sysopt.fmtd_wizard_list);
2731 putstr(cwin, 0, buf);
2732 putstr(cwin, 0, "");
2733 }
2734 putstr(cwin, 0, "To contact the NetHack development team directly,");
2735 /*XXX overflow possibilities*/
2736 Sprintf(buf, "see the 'Contact' form on our website or email <%s>.",
2737 DEVTEAM_EMAIL);
2738 putstr(cwin, 0, buf);
2739 putstr(cwin, 0, "");
2740 putstr(cwin, 0, "For more information on NetHack, or to report a bug,");
2741 Sprintf(buf, "visit our website \"%s\".", DEVTEAM_URL);
2742 putstr(cwin, 0, buf);
2743 display_nhwindow(cwin, FALSE);
2744 destroy_nhwindow(cwin);
2745}
2746
2747staticfn void
2748dispfile_help(void)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected