From: Eli Zaretskii Date: Mon, 18 Dec 2000 13:27:18 +0000 (+0000) Subject: (IT_set_face): Obey inverse_video. X-Git-Tag: emacs-pretest-21.0.95~431 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76648534c5d602ebe7981b6c3e68ab96e92c70b1;p=emacs.git (IT_set_face): Obey inverse_video. --- 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);