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

Function X11_putmsghistory

win/X11/winX.c:212–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

210static Pixmap icon_pixmap = None; /* Pixmap for icon. */
211
212void
213X11_putmsghistory(const char *msg, boolean is_restoring)
214{
215 if (WIN_MESSAGE != WIN_ERR) {
216 struct xwindow *wp = &window_list[WIN_MESSAGE];
217 debugpline2("X11_putmsghistory('%s',%i)", msg, is_restoring);
218 if (msg)
219 append_message(wp, msg);
220 }
221}
222
223char *
224X11_getmsghistory(boolean init)

Callers

nothing calls this directly

Calls 1

append_messageFunction · 0.85

Tested by

no test coverage detected