# HG changeset patch # User Eli Zaretskii # Date 977146038 0 # Node ID fbd6630ebdaacc815b0788aff0cacb8f51d06dca # Parent 354a5b33d058d4cd91965ec110c9db7afaed3da8 (IT_set_face): Obey inverse_video. diff -r 354a5b33d058 -r fbd6630ebdaa src/msdos.c --- 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, highlight ? "H" : "", fp->foreground, fp->background, fg, bg);