[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/term.c
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] Changes to emacs/src/term.c |
Date: |
Sun, 28 Sep 2003 16:49:19 -0400 |
Index: emacs/src/term.c
diff -c emacs/src/term.c:1.152 emacs/src/term.c:1.153
*** emacs/src/term.c:1.152 Mon Sep 22 12:03:18 2003
--- emacs/src/term.c Sun Sep 28 16:49:19 2003
***************
*** 2066,2071 ****
--- 2066,2075 ----
tty_setup_colors (mode)
int mode;
{
+ /* Canonicalize all negative values of MODE. */
+ if (mode < -1)
+ mode = -1;
+
switch (mode)
{
case -1: /* no colors at all */