1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Don't crash when there are too many items to fit on one screen.

This commit is contained in:
Bruce Evans 1995-04-15 23:10:59 +00:00
parent b7521ff571
commit 678308e07a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=7862

View File

@ -182,7 +182,7 @@ devmenu_common(const char *title, const char *hfile, char **devnames,
name = resbuf;
if(dialog_menu((char *)title, prompt, 24, 78, nitems, nitems, items,
if(dialog_menu((char *)title, prompt, 24, 78, 18, nitems, items,
resbuf, 0, 0) != 0) {
name = "none";
}