summaryrefslogtreecommitdiffstats
path: root/usr.sbin/sysinstall/index.c
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1996-05-01 09:31:50 +0000
committerjkh <jkh@FreeBSD.org>1996-05-01 09:31:50 +0000
commit04740820fe7bb8fc9d1db1fb40c4cca82027c1fa (patch)
treedebab1b1033351746aa9997206e75a63ef949712 /usr.sbin/sysinstall/index.c
parent765166292cdc04f5d168dae1daca9557d65688f8 (diff)
downloadFreeBSD-src-04740820fe7bb8fc9d1db1fb40c4cca82027c1fa.zip
FreeBSD-src-04740820fe7bb8fc9d1db1fb40c4cca82027c1fa.tar.gz
Fix the last known bogon with the packages menu. It's SNAP time!
Diffstat (limited to 'usr.sbin/sysinstall/index.c')
-rw-r--r--usr.sbin/sysinstall/index.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c
index d3095f1..b494581 100644
--- a/usr.sbin/sysinstall/index.c
+++ b/usr.sbin/sysinstall/index.c
@@ -4,7 +4,7 @@
* This is probably the last program in the `sysinstall' line - the next
* generation being essentially a complete rewrite.
*
- * $Id: index.c,v 1.26 1996/04/30 06:00:06 jkh Exp $
+ * $Id: index.c,v 1.27 1996/04/30 21:22:29 jkh Exp $
*
* Copyright (c) 1995
* Jordan Hubbard. All rights reserved.
@@ -502,10 +502,10 @@ index_menu(PkgNodePtr top, PkgNodePtr plist, int *pos, int *scroll)
}
continue;
}
+ items_free(nitems, &curr, &max);
+ restorescr(w);
+ return rval ? DITEM_FAILURE : DITEM_SUCCESS;
}
- items_free(nitems, &curr, &max);
- restorescr(w);
- return rval ? DITEM_FAILURE : DITEM_SUCCESS;
}
int
OpenPOWER on IntegriCloud