From de5da621aca3be6e32f66879fa2fc97f4e551198 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Thu, 7 Jan 2021 21:53:53 +0200 Subject: [PATCH] Fix glyph lookup Seems to have been a mistake in c9673b3d9e --- src/pager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);