summaryrefslogtreecommitdiffstats
path: root/release/sysinstall/dmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/sysinstall/dmenu.c')
-rw-r--r--release/sysinstall/dmenu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/sysinstall/dmenu.c b/release/sysinstall/dmenu.c
index bb679a9..89f2edd 100644
--- a/release/sysinstall/dmenu.c
+++ b/release/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;
}
OpenPOWER on IntegriCloud