Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libmenu Whitespace cleanup.
details: https://anonhg.NetBSD.org/src/rev/029b932e11c6
branches: trunk
changeset: 534555:029b932e11c6
user: wiz <wiz%NetBSD.org@localhost>
date: Mon Jul 29 13:26:56 2002 +0000
description:
Whitespace cleanup.
diffstat:
lib/libmenu/menu_item_value.3 | 9 ++++-----
lib/libmenu/menus.3 | 8 ++++----
2 files changed, 8 insertions(+), 9 deletions(-)
diffs (57 lines):
diff -r 3afed2ab486c -r 029b932e11c6 lib/libmenu/menu_item_value.3
--- a/lib/libmenu/menu_item_value.3 Mon Jul 29 13:06:47 2002 +0000
+++ b/lib/libmenu/menu_item_value.3 Mon Jul 29 13:26:56 2002 +0000
@@ -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@localhost, brett_lymn%yahoo.com.au@localhost
@@ -59,13 +59,13 @@
.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 @@
.Pp
The function
.Fn item_selected
-is a
+is a
.Nx
extension and must not be used in portable code.
-
diff -r 3afed2ab486c -r 029b932e11c6 lib/libmenu/menus.3
--- a/lib/libmenu/menus.3 Mon Jul 29 13:06:47 2002 +0000
+++ b/lib/libmenu/menus.3 Mon Jul 29 13:26:56 2002 +0000
@@ -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@localhost, brett_lymn%yahoo.com.au@localhost
@@ -276,10 +276,10 @@
.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
Home |
Main Index |
Thread Index |
Old Index