From 90d1e30ebd9b7c2480a3abe0cd41335dda0ce75d Mon Sep 17 00:00:00 2001 From: nhmall Date: Tue, 26 Dec 2023 13:48:56 -0500 Subject: [PATCH] follow-up to display.c, add a comment --- src/display.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/display.c b/src/display.c index 5ccb03a9c..08ffb95f3 100644 --- a/src/display.c +++ b/src/display.c @@ -1542,6 +1542,9 @@ static glyph_info no_ginfo = { } }; #ifndef UNBUFFERED_GLYPHINFO +/* Note that the 'glyph' argument is not used in the expansion + * of this !UNBUFFERED_GLYPHINFO (default) variation, but is + * a requirement for the UNBUFFERED_GLYPHINFO variation */ #define Glyphinfo_at(x, y, glyph) \ (((x) < 0 || (y) < 0 || (x) >= COLNO || (y) >= ROWNO) ? &no_ginfo \ : &gg.gbuf[(y)][(x)].glyphinfo)