diff options
author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-11 18:37:48 +0000 |
---|---|---|
committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1996-07-11 18:37:48 +0000 |
commit | bd5706a78a33681f26eded12eaa37ab51c58063d (patch) | |
tree | 94d6ec3128023d022b2f53805930ab62fb467c7a /usr.sbin/sysinstall/dmenu.c | |
parent | 15232ab26e52e2e1c4bbbc627b7fd4368a976818 (diff) | |
download | src-bd5706a78a33681f26eded12eaa37ab51c58063d.tar.gz src-bd5706a78a33681f26eded12eaa37ab51c58063d.zip |
Make the menu height calculation actually work.
Make a menu more self-explanatory at user request.
Notes
Notes:
svn path=/head/; revision=17099
Diffstat (limited to 'usr.sbin/sysinstall/dmenu.c')
-rw-r--r-- | usr.sbin/sysinstall/dmenu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/dmenu.c b/usr.sbin/sysinstall/dmenu.c index bb679a986d59..89f2edde7bb7 100644 --- a/usr.sbin/sysinstall/dmenu.c +++ b/usr.sbin/sysinstall/dmenu.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: dmenu.c,v 1.21 1996/07/02 01:03:39 jkh Exp $ + * $Id: dmenu.c,v 1.22 1996/07/05 08:35:53 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -171,7 +171,7 @@ menu_height(DMenu *menu, int n) int max; char *t; - for (t = menu->title, max = MAX_MENU; *t; t++) { + for (t = menu->prompt, max = MAX_MENU; *t; t++) { if (*t == '\n') --max; } |