[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 4a261ce 2/2: ; * src/term.c (init_tty): Fix style of parentheses.
From: |
Eli Zaretskii |
Subject: |
master 4a261ce 2/2: ; * src/term.c (init_tty): Fix style of parentheses. |
Date: |
Thu, 11 Nov 2021 09:57:25 -0500 (EST) |
branch: master
commit 4a261ce91dbb6a0cfcbce47428a777147bb86c6d
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * src/term.c (init_tty): Fix style of parentheses.
---
src/term.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/term.c b/src/term.c
index 51fcef6..fd8db53 100644
--- a/src/term.c
+++ b/src/term.c
@@ -4155,9 +4155,9 @@ use the Bourne shell command 'TERM=...; export TERM'
(C-shell:\n\
/* Fall back to xterm+direct (semicolon version) if Tc is set
(de-facto standard introduced by tmux) or if requested by
the COLORTERM environment variable. */
- else if ((tigetflag("Tc") != -1)
- || ((bg = getenv("COLORTERM")) != NULL
- && strcasecmp(bg, "truecolor") == 0))
+ else if ((tigetflag ("Tc") != -1)
+ || ((bg = getenv ("COLORTERM")) != NULL
+ && strcasecmp (bg, "truecolor") == 0))
{
tty->TS_set_foreground =
"\033[%?%p1%{8}%<%t3%p1%d%e38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m";
tty->TS_set_background =
"\033[%?%p1%{8}%<%t4%p1%d%e48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%d%;m";