From 76648534c5d602ebe7981b6c3e68ab96e92c70b1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 18 Dec 2000 13:27:18 +0000 Subject: [PATCH] (IT_set_face): Obey inverse_video. --- src/msdos.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/msdos.c b/src/msdos.c index 8466d6ba4ca..6312d5dc2c0 100644 --- a/src/msdos.c +++ b/src/msdos.c @@ -918,6 +918,14 @@ IT_set_face (int face) 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); -- 2.39.2