Index: emacs/src/term.c diff -c emacs/src/term.c:1.166 emacs/src/term.c:1.167 *** emacs/src/term.c:1.166 Sun Aug 7 17:35:09 2005 --- emacs/src/term.c Mon Aug 22 20:47:49 2005 *************** *** 2011,2034 **** if (TN_max_colors > 0) { ! char *p; ! if (fg >= 0 && TS_set_foreground) { ! if (standout_mode) ! p = tparam (TS_set_background, NULL, 0, (int) fg); ! else ! p = tparam (TS_set_foreground, NULL, 0, (int) fg); OUTPUT (p); xfree (p); } ! if (bg >= 0 && TS_set_background) { ! if (standout_mode) ! p = tparam (TS_set_foreground, NULL, 0, (int) bg); ! else ! p = tparam (TS_set_background, NULL, 0, (int) bg); OUTPUT (p); xfree (p); } --- 2011,2030 ---- if (TN_max_colors > 0) { ! char *ts, *p; ! ts = standout_mode ? TS_set_background : TS_set_foreground; ! if (fg >= 0 && ts) { ! p = tparam (ts, NULL, 0, (int) fg); OUTPUT (p); xfree (p); } ! ts = standout_mode ? TS_set_foreground : TS_set_background; ! if (bg >= 0 && ts) { ! p = tparam (ts, NULL, 0, (int) bg); OUTPUT (p); xfree (p); }
_______________________________________________ Emacs-diffs mailing list Emacs-diffs@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-diffs