Commit 76648534 authored by Eli Zaretskii's avatar Eli Zaretskii

(IT_set_face): Obey inverse_video.

parent 52d8e4ff
......@@ -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 %d%s: %d/%d[FG:%d/BG:%d]>", face,
highlight ? "H" : "", fp->foreground, fp->background, fg, bg);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment