From: Pasi Kallinen Date: Thu, 7 Jan 2021 19:53:53 +0000 (+0200) Subject: Fix glyph lookup X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de5da621aca3be6e32f66879fa2fc97f4e551198;p=nethack Fix glyph lookup Seems to have been a mistake in c9673b3d9e --- diff --git a/src/pager.c b/src/pager.c index 1a70f63cc..e7898c072 100644 --- a/src/pager.c +++ b/src/pager.c @@ -900,7 +900,7 @@ struct permonst **for_supplement; glyph = glyph_at(cc.x, cc.y); /* Convert glyph at selected position to a symbol for use below. */ map_glyphinfo(cc.x, cc.y, glyph, 0, &glyphinfo); - sym = glyphinfo.symidx; + sym = glyphinfo.ttychar; Sprintf(prefix, "%s ", encglyph(glyphinfo.glyph)); } else Sprintf(prefix, "%c ", sym);