Browse Source

Patch for RSX. If both EMX_VIDEO and WIN32 are defined, write attributes
correctly.
RSX support is almost complete now.

Pavel Machek 27 years ago
parent
commit
2565113b86
1 changed files with 1 additions and 1 deletions
  1. 1 1
      slang/slvideo.c

+ 1 - 1
slang/slvideo.c

@@ -1035,7 +1035,7 @@ static void write_attributes (unsigned short *src, int count)
 # if defined (HAS_LINEAR_SCREEN)
 	*(pos++) = ((unsigned short) Attribute_Byte << 8) | pair & 0xff;
 # else
-#  ifndef WIN32
+#  if defined(EMX_VIDEO) || !defined(WIN32)
 	*(p++) = pair & 0xff;		/* character byte */
 	*(p++) = Attribute_Byte;	/* attribute byte */
 #  else