]> granicus.if.org Git - nethack/commitdiff
place a reminder in glyph_info comment
authornhmall <nhmall@nethack.org>
Tue, 5 Jan 2021 16:00:07 +0000 (11:00 -0500)
committernhmall <nhmall@nethack.org>
Tue, 5 Jan 2021 16:00:07 +0000 (11:00 -0500)
include/wintype.h

index aebfbf80f1937bbf57e60c14e03875c11a0cf225..bc58f7afead17a8ebdec4a6e833ad05bd68ee317 100644 (file)
@@ -52,7 +52,11 @@ enum any_types {
     ANY_MASK32       /* 32-bit mask (stored as unsigned long) */
 };
 
-/* glyph plus additional info */
+/* glyph plus additional info
+   if you add fields or change the ordering, fix up the following:
+        g_info initialization in display.c
+        nul_glyphinfo initialization in decl.c
+ */
 typedef struct gi {
     int glyph;            /* the display entity */
     int color;            /* color for window ports not using a tile */