summaryrefslogtreecommitdiff
path: root/lib/libmenu/menu_format.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libmenu/menu_format.3')
-rw-r--r--lib/libmenu/menu_format.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libmenu/menu_format.3 b/lib/libmenu/menu_format.3
index 04ac9edcf1d..a901a065192 100644
--- a/lib/libmenu/menu_format.3
+++ b/lib/libmenu/menu_format.3
@@ -7,7 +7,7 @@
.br
int set_menu_format(MENU *menu, int rows, int cols);
.br
-int menu_format(MENU *menu, int *rows, int *cols);
+int menu_format(const MENU *menu, int *rows, int *cols);
.br
.SH DESCRIPTION
The function \fBset_menu_format\fR sets the maximum display size of the given
@@ -19,7 +19,7 @@ null menu pointer will change this default. A zero row or column argument to
\fBset_menu_format\fR is interpreted as a request not to change the current
value.
-The function \fBget_menu_format\fR returns the maximum-size constraints for the
+The function \fBmenu_format\fR returns the maximum-size constraints for the
given menu into the storage addressed by \fBrows\fR and \fBcols\fR.
.SH RETURN VALUE
These routines returns one of the following: