]> granicus.if.org Git - nethack/commitdiff
MSDOS and TTY_TILES_ESCCODES bit
authornhmall <nhmall@nethack.org>
Tue, 5 Jan 2021 15:28:43 +0000 (10:28 -0500)
committernhmall <nhmall@nethack.org>
Tue, 5 Jan 2021 15:28:43 +0000 (10:28 -0500)
win/tty/wintty.c

index 414e513fd45f690d45cf56eb5801531bbd956557..a272118aed1c103a22b392a590a92153d79a1f15 100644 (file)
@@ -3442,6 +3442,9 @@ const glyph_info *bkglyphinfo UNUSED;
     }
 #endif
     /* get glyph ttychar, color, and special flags */
+#if defined(TTY_TILES_ESCCODES) || defined(MSDOS)
+    glyph = glyphinfo->glyph;
+#endif
     ch = glyphinfo->ttychar;
     color = glyphinfo->color;
     special = glyphinfo->glyphflags;