Whitespace cleanup.

This commit is contained in:
wiz 2002-07-29 13:26:56 +00:00
parent a9d15d3cf7
commit 0fa6dc022d
2 changed files with 8 additions and 9 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: menu_item_value.3,v 1.7 2002/07/29 13:03:51 blymn Exp $
.\" $NetBSD: menu_item_value.3,v 1.8 2002/07/29 13:26:56 wiz Exp $
.\"
.\" Copyright (c) 1999
.\" Brett Lymn - blymn@baea.com.au, brett_lymn@yahoo.com.au
@ -59,13 +59,13 @@ The
.Fn item_selected
fucntion returns the number of items that are selected in the menu, that
is the number of items whose value is TRUE. The indexes of the selected
items will be returned in
items will be returned in
.Fa array
which will be dynamically allocated to hold the number of indexes. It
is the reponsibility of the caller to release this storage by calling
.Xr free 3
when the storage is no longer required. If there are no elements selected
in the items array then
in the items array then
.Fn item_selected
will return 0 and
.Fa array
@ -98,7 +98,6 @@ and
.Pp
The function
.Fn item_selected
is a
is a
.Nx
extension and must not be used in portable code.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: menus.3,v 1.11 2002/07/29 13:03:51 blymn Exp $
.\" $NetBSD: menus.3,v 1.12 2002/07/29 13:26:56 wiz Exp $
.\"
.\" Copyright (c) 1999
.\" Brett Lymn - blymn@baea.com.au, brett_lymn@yahoo.com.au
@ -276,10 +276,10 @@ is optional, if it is not set then menus defaults to the old behaviour.
.It item marking
In the original implementation the current item was considered selected
and hence had the mark string displayed next to it. This implementation
does not do this because the Author considers the effect too confusing.
does not do this because the Author considers the effect too confusing.
Especially in the case of a multiple selection menu because there was no
way to tell if the current item is selected or not without shifting off
of it. Since the current item is displayed using the foreground
way to tell if the current item is selected or not without shifting off
of it. Since the current item is displayed using the foreground
attribute it was deemed unnecessary to also display the mark string against
the current item.
.El