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: fix calculation of maximum screen...



details:   https://anonhg.NetBSD.org/src/rev/d425f37cc179
branches:  trunk
changeset: 1022380:d425f37cc179
user:      nia <nia%NetBSD.org@localhost>
date:      Thu Jul 15 06:59:55 2021 +0000

description:
aiomixer: fix calculation of maximum screen width

diffstat:

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

diffs (18 lines):

diff -r afce479be7fc -r d425f37cc179 usr.bin/aiomixer/draw.c
--- a/usr.bin/aiomixer/draw.c   Thu Jul 15 06:57:10 2021 +0000
+++ b/usr.bin/aiomixer/draw.c   Thu Jul 15 06:59:55 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: draw.c,v 1.7 2021/05/29 09:11:41 nia Exp $ */
+/* $NetBSD: draw.c,v 1.8 2021/07/15 06:59:55 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") + 1),
            "NetBSD audio mixer");
 
        if (aio->mixerdev.version[0] != '\0') {



Home | Main Index | Thread Index | Old Index