summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tty.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2024-08-04 09:42:24 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2024-08-04 09:42:24 +0000
commitef8eba4759f51356dec0ca53c46976d9083e3cb7 (patch)
tree76eed37271419698e9a341061905dccc08af10fb /usr.bin/tmux/tty.c
parent90dfb65d8d05c75fcae4f42dbdd636c9bfc6bedb (diff)
Make a little effort to treate CRLF as LF in config files. GitHub issue
3720.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r--usr.bin/tmux/tty.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c
index 124cb357d62..51dd9378efa 100644
--- a/usr.bin/tmux/tty.c
+++ b/usr.bin/tmux/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.437 2024/08/04 09:35:30 nicm Exp $ */
+/* $OpenBSD: tty.c,v 1.438 2024/08/04 09:42:23 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2656,7 +2656,6 @@ static void
tty_colours(struct tty *tty, const struct grid_cell *gc)
{
struct grid_cell *tc = &tty->cell;
- int have_ax;
/* No changes? Nothing is necessary. */
if (gc->fg == tc->fg && gc->bg == tc->bg && gc->us == tc->us)