From ef8eba4759f51356dec0ca53c46976d9083e3cb7 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 4 Aug 2024 09:42:24 +0000 Subject: Make a little effort to treate CRLF as LF in config files. GitHub issue 3720. --- usr.bin/tmux/tty.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'usr.bin/tmux/tty.c') 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 @@ -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) -- cgit v1.2.3