changeset 34676:fbd6630ebdaa

(IT_set_face): Obey inverse_video.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 18 Dec 2000 13:27:18 +0000
parents 354a5b33d058
children 29b75d7780f1
files src/msdos.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Mon Dec 18 13:17:24 2000 +0000
+++ b/src/msdos.c	Mon Dec 18 13:27:18 2000 +0000
@@ -918,6 +918,14 @@
       fg = bg;
       bg = tem;
     }
+  /* If the user requested inverse video, obey.  */
+  if (inverse_video)
+    {
+      unsigned long tem2 = fg;
+
+      fg = bg;
+      bg = tem2;
+    }
   if (termscript)
     fprintf (termscript, "<FACE %d%s: %d/%d[FG:%d/BG:%d]>", face,
 	     highlight ? "H" : "", fp->foreground, fp->background, fg, bg);