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

Function EnumFontCallback

sys/windows/consoletty.c:2059–2066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2057
2058#ifndef VIRTUAL_TERMINAL_SEQUENCES
2059static int CALLBACK EnumFontCallback(
2060 const LOGFONTW * lf, const TEXTMETRICW * tm UNUSED,
2061 DWORD fontType UNUSED, LPARAM lParam)
2062{
2063 LOGFONTW * lf_ptr = (LOGFONTW *) lParam;
2064 *lf_ptr = *lf;
2065 return 0;
2066}
2067#endif
2068
2069/* check_and_set_font ensures that the current font will render the symbols

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected