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: remove workaround for libcurses bug



details:   https://anonhg.NetBSD.org/src/rev/2ad9ab8e9421
branches:  trunk
changeset: 983553:2ad9ab8e9421
user:      nia <nia%NetBSD.org@localhost>
date:      Sat May 29 09:11:41 2021 +0000

description:
aiomixer: remove workaround for libcurses bug

diffstat:

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

diffs (23 lines):

diff -r 0746b7695555 -r 2ad9ab8e9421 usr.bin/aiomixer/draw.c
--- a/usr.bin/aiomixer/draw.c   Sat May 29 09:11:14 2021 +0000
+++ b/usr.bin/aiomixer/draw.c   Sat May 29 09:11:41 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: draw.c,v 1.6 2021/05/08 14:49:13 nia Exp $ */
+/* $NetBSD: draw.c,v 1.7 2021/05/29 09:11:41 nia Exp $ */
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -364,13 +364,7 @@
                        control->widget_y = class->height;
                        class->height += control->height;
                }
-#ifdef notyet
-               /*
-                * NetBSD curses wresize() bounds the pad to the height of
-                * the screen even though it's already taller. Probably a bug.
-                */
                wresize(class->widgetpad, class->height, getmaxx(stdscr));
-#endif
        }
 
        aio->last_max_x = getmaxx(stdscr);



Home | Main Index | Thread Index | Old Index