Index | Thread | Search

From:
Alexander Arkhipov <aa@manpager.org>
Subject:
Re: extraneous whitespace in usr.bin/tmux/tty.c
To:
tech@openbsd.org
Date:
Wed, 5 Jun 2024 08:55:01 +0400

Download raw body.

Thread
ping

> Hi, tech@,
> 
> I noticed some unneeded whitespace in tmux's tty.c. See the patch below.
> Thanks!
> 
> -- 
> Alexander
> 
> cvs diff: Diffing .
> Index: tty.c
> ===================================================================
> RCS file: /var/cvs/src/usr.bin/tmux/tty.c,v
> diff -u -p -r1.436 tty.c
> --- tty.c	14 May 2024 10:11:09 -0000	1.436
> +++ tty.c	27 May 2024 12:49:06 -0000
> @@ -811,7 +811,7 @@ tty_update_cursor(struct tty *tty, int m
>  	}
>  	tty->cstyle = cstyle;
>  	return (cmode);
> - }
> +}
>  
>  void
>  tty_update_mode(struct tty *tty, int mode, struct screen *s)
> @@ -1626,7 +1626,7 @@ tty_sync_end(struct tty *tty)
>  	tty->flags &= ~TTY_SYNCING;
>  
>  	if (tty_term_has(tty->term, TTYC_SYNC)) {
> - 		log_debug("%s sync end", tty->client->name);
> +		log_debug("%s sync end", tty->client->name);
>  		tty_putcode_i(tty, TTYC_SYNC, 2);
>  	}
>  }
> 

-- 
Alexander