comparison src/msdos.c @ 34676:fbd6630ebdaa

(IT_set_face): Obey inverse_video.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 18 Dec 2000 13:27:18 +0000
parents 9ff4148959a8
children c3734c1b1362
comparison
equal deleted inserted replaced
34675:354a5b33d058 34676:fbd6630ebdaa
915 { 915 {
916 unsigned long tem = fg; 916 unsigned long tem = fg;
917 917
918 fg = bg; 918 fg = bg;
919 bg = tem; 919 bg = tem;
920 }
921 /* If the user requested inverse video, obey. */
922 if (inverse_video)
923 {
924 unsigned long tem2 = fg;
925
926 fg = bg;
927 bg = tem2;
920 } 928 }
921 if (termscript) 929 if (termscript)
922 fprintf (termscript, "<FACE %d%s: %d/%d[FG:%d/BG:%d]>", face, 930 fprintf (termscript, "<FACE %d%s: %d/%d[FG:%d/BG:%d]>", face,
923 highlight ? "H" : "", fp->foreground, fp->background, fg, bg); 931 highlight ? "H" : "", fp->foreground, fp->background, fg, bg);
924 if (fg >= 0 && fg < 16) 932 if (fg >= 0 && fg < 16)