follow-up to display.c, add a comment
This commit is contained in:
@@ -1542,6 +1542,9 @@ static glyph_info no_ginfo = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
#ifndef UNBUFFERED_GLYPHINFO
|
#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) \
|
#define Glyphinfo_at(x, y, glyph) \
|
||||||
(((x) < 0 || (y) < 0 || (x) >= COLNO || (y) >= ROWNO) ? &no_ginfo \
|
(((x) < 0 || (y) < 0 || (x) >= COLNO || (y) >= ROWNO) ? &no_ginfo \
|
||||||
: &gg.gbuf[(y)][(x)].glyphinfo)
|
: &gg.gbuf[(y)][(x)].glyphinfo)
|
||||||
|
|||||||
Reference in New Issue
Block a user