Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/aiomixer aiomixer: avoid wasting space



details:   https://anonhg.NetBSD.org/src/rev/a91c0ccf5829
branches:  trunk
changeset: 984652:a91c0ccf5829
user:      nia <nia%NetBSD.org@localhost>
date:      Thu Jul 15 07:03:14 2021 +0000

description:
aiomixer: avoid wasting space

diffstat:

 usr.bin/aiomixer/draw.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 597825c5168e -r a91c0ccf5829 usr.bin/aiomixer/draw.c
--- a/usr.bin/aiomixer/draw.c   Thu Jul 15 06:59:55 2021 +0000
+++ b/usr.bin/aiomixer/draw.c   Thu Jul 15 07:03:14 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: draw.c,v 1.8 2021/07/15 06:59:55 nia Exp $ */
+/* $NetBSD: draw.c,v 1.9 2021/07/15 07:03:14 nia Exp $ */
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -311,7 +311,7 @@
 {
        wprintw(aio->header, "\n");
        mvwaddstr(aio->header, 0,
-           getmaxx(aio->header) - ((int)sizeof("NetBSD audio mixer") + 1),
+           getmaxx(aio->header) - (int)sizeof("NetBSD audio mixer"),
            "NetBSD audio mixer");
 
        if (aio->mixerdev.version[0] != '\0') {



Home | Main Index | Thread Index | Old Index