attempt to fix DOS cross-compile

This commit is contained in:
nhmall
2024-03-23 15:56:04 -04:00
parent d610d16863
commit 5c43c81018

View File

@@ -688,13 +688,13 @@ vesa_xputg(const glyph_info *glyphinfo, const glyph_info *bkglyphinfo UNUSED)
#ifdef ENHANCED_SYMBOLS
if (SYMHANDLING(H_UTF8) && glyphinfo->gm.u && glyphinfo->gm.u->utf8str) {
ch = glyphinfo->gm.u->utf32ch;
if (vesa_pixel_size > 8 && glyphinfo->gm.u->ucolor != 0) {
/* FIXME: won't display black (0,0,0) correctly, but the background
is usually black anyway */
attr = glyphinfo->gm.u->ucolor | 0x80000000;
}
}
#endif
if (vesa_pixel_size > 8 && glyphinfo->gm.nhcolor != 0) {
/* FIXME: won't display black (0,0,0) correctly, but the background
is usually black anyway */
attr = glyphinfo->gm.nhcolor | 0x80000000;
}
row = currow;
col = curcol;