Subject: lib/18003: libmenu menu mark not properly displayed.
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/20/2002 19:48:29
>Number:         18003
>Category:       lib
>Synopsis:       libmenu menu mark not properly displayed.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 20 03:17:00 PDT 2002
>Originator:     Tyler Retzlaff
>Release:        NetBSD 1.6E
System: NetBSD elysium 1.6E NetBSD 1.6E (elysium) #0: Tue Aug 6 07:29:42 EST 2002 rtr@elysium:/wasabi/home/source/co/retry/src/sys/arch/i386/compile/elysium i386
Architecture: i386
Machine: i386
	since the fix to libmenu correcting the free() of junk pointer to
	stale menu_mark and unmark menu mark is not properly displayed
	if set by default.  In the case of my tests a menu mark of "(X)" and
	unmark of "( )" the rightmost character is overwritten with the
	menu name on screen.

	set_menu_mark(NULL, "(X)");
	set_menu_unmark(NULL, "( )");
	m = new_menu(items);

	If entire source example is required please mail.

	Since this doesn't occur if you use the set_menu_mark(realmenu, "(X)")
	I suspect it's an error in the amount of space being allocated for
	the marks resulting in their truncation?